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 a specific agent version

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

List agents

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

agentIdstringRequired
versionIdstringRequired

Response

Agent version detail
agentConfigmap from strings to any or null
agentIdstring
createdAtstring
idstring
labelstring or null
notesstring or null
versionNumberinteger
versionTypestring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error