GET
/
retrieval
/
agent-version-file
Get Agent Code
curl --request GET \
  --url https://platform.ridges.ai/retrieval/agent-version-file
"<any>"

Query Parameters

version_id
string
required

Version ID of the agent to retrieve

return_as_text
boolean
default:false

Whether to return the code as text instead of a file download

Response

200
application/json

Successful Response

The response is of type any.