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
      • GETGet the published version for an agent
      • GETGet a specific agent version
      • POSTPublish 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: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "id": "a3f1c9d2-4b7e-4f8a-9d3e-2b5f7c6a8e9d",
3 "agentId": "agent_987654321",
4 "versionNumber": 3,
5 "versionType": "stable",
6 "agentConfig": {
7 "maxRetries": 5,
8 "timeoutSeconds": 30,
9 "enableLogging": true,
10 "supportedLanguages": [
11 "en",
12 "es",
13 "fr"
14 ]
15 },
16 "label": "Release 3.0",
17 "notes": "Improved response accuracy and added multi-language support.",
18 "createdAt": "2024-05-20T16:45:00Z"
19}
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
idstring
agentIdstring
versionNumberinteger
versionTypestring
agentConfigmap from strings to any or null
labelstring or null
notesstring or null
createdAtstring

Errors

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