List Agent Versions
To list all agent versions, send a GET request to /v2/gen-ai/agents/{uuid}/versions.
Path parameters
Agent uuid
Query parameters
Page number.
Items per page.
Response
A successful response.
Example response
{
"agent_versions": [
{
"agent_uuid": "123e4567-e89b-12d3-a456-426614174000",
"attached_child_agents": [
{
"agent_name": "example name",
"child_agent_uuid": "123e4567-e89b-12d3-a456-426614174000",
"if_case": "example string",
"is_deleted": true,
"route_name": "example name"
}
],
"attached_functions": [
{
"description": "example string",
"faas_name": "example name",
"faas_namespace": "example name",
"is_deleted": true,
"name": "example name"
}
],
"attached_guardrails": [
{
"is_deleted": true,
"name": "example name",
"priority": 123,
"uuid": "123e4567-e89b-12d3-a456-426614174000"
}
],
"attached_knowledgebases": [
{
"is_deleted": true,
"name": "example name",
"uuid": "123e4567-e89b-12d3-a456-426614174000"
}
],
"can_rollback": true,
"created_at": "2023-01-01T00:00:00Z",
"created_by_email": "example@example.com",
"currently_applied": true,
"description": "example string",
"id": "12345",
"instruction": "example string",
"k": 123,
"max_tokens": 123,
"model_name": "example name",
"name": "example name",
"provide_citations": true,
"retrieval_method": "RETRIEVAL_METHOD_UNKNOWN",
"tags": [
"example string"
],
"temperature": 123,
"top_p": 123,
"trigger_action": "example string",
"version_hash": "example string"
}
],
"links": {
"pages": {
"first": "example string",
"last": "example string",
"next": "example string",
"previous": "example string"
}
},
"meta": {
"page": 123,
"pages": 123,
"total": 123
}
}Changes
Changed in 4 of the 8 revisions of this API.2330
- ○
api tag
DigitalOcean-public.v2-new_GradientAI Platformaddedapi-tag-added
- ○
api tag
GradientAI Platformremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api operation id
list_agent_versionsremoved and replaced withgenai_list_agent_versionsapi-operation-id-removed
- ○
the endpoint scheme security
bearer_authwas added to the APIapi-security-added
- ○
api tag
GradientAI Platformaddedapi-tag-added
- ○
api tag
GenAIAPIremovedapi-tag-removed
- ○
for the
queryrequest parameterpage, the format was generalized fromint64to no formatrequest-parameter-type-generalized
- ○
for the
queryrequest parameterper_page, the format was generalized fromint64to no formatrequest-parameter-type-generalized
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
for the
queryrequest parameterpage, the format changed from no format toint64request-parameter-type-changed
- ▲
for the
queryrequest parameterper_page, the format changed from no format toint64request-parameter-type-changed
- ●
the optional response header
ratelimit-limitremoved for the status200optional-response-header-removed
- ●
the optional response header
ratelimit-remainingremoved for the status200optional-response-header-removed
- ●
the optional response header
ratelimit-resetremoved for the status200optional-response-header-removed
- ○
api operation id
genai_list_agent_versionsremoved and replaced withlist_agent_versionsapi-operation-id-removed
- ○
the endpoint scheme security
bearer_authwas removed from the APIapi-security-removed
- ○
api tag
GenAIAPIaddedapi-tag-added
- ○
api tag
GradientAI Platformremovedapi-tag-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
api operation id
list_agent_versionsremoved and replaced withgenai_list_agent_versionsapi-operation-id-removed
- ○
the endpoint scheme security
bearer_authwas added to the APIapi-security-added
- ○
api tag
GradientAI Platformaddedapi-tag-added
- ○
api tag
GenAIAPIremovedapi-tag-removed
- ○
for the
queryrequest parameterpage, the format was generalized fromint64to no formatrequest-parameter-type-generalized
- ○
for the
queryrequest parameterper_page, the format was generalized fromint64to no formatrequest-parameter-type-generalized
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
- ○
added the non-success response with the status
response-non-success-status-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○