For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList versions for an agent
      • POSTPublish a specific agent version
      • GETGet the published version for an agent
      • GETGet a specific agent version
Dashboard
LogoLogo
Runtype APIAgent Versions

Get the published version for an agent

GET
/v1/agent-versions/:agentId/published
GET
/v1/agent-versions/:agentId/published
$curl https://api.runtype.com/v1/agent-versions/agentId/published \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "agentConfig": {
3 "language": "en",
4 "maxTokens": 1500,
5 "temperature": 0.7,
6 "model": "gpt-4"
7 },
8 "agentId": "agent_9f8b7c6d5e4a3b2c1d0e",
9 "createdAt": "2024-06-10T12:45:30Z",
10 "id": "version_1234567890abcdef",
11 "label": "Initial Release",
12 "notes": "Stable version with core functionality implemented.",
13 "versionNumber": 3,
14 "versionType": "published"
15}
Was this page helpful?
Previous

Get a specific agent version

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

agentIdstringRequired

Response

Published agent version
agentConfigmap from strings to any or null
agentIdstring
createdAtstring
idstring
labelstring or null
notesstring or null
versionNumberinteger
versionTypestring

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error