Agents
Agents
Agents
Create an Agent
post/v2/gen-ai/agents
Delete an Agent
delete/v2/gen-ai/agents/{uuid}
List Agents
get/v2/gen-ai/agents
Retrieve an Existing Agent
get/v2/gen-ai/agents/{uuid}
Update an Agent
put/v2/gen-ai/agents/{uuid}
Update Agent Status
put/v2/gen-ai/agents/{uuid}/deployment_visibility
API Agent
APIAgentobject
An Agent
API Agent API Key Info
APIAgentAPIKeyInfoobject
Agent API Key Info
API Agent Model
APIAgentModelobject
Description of a Model
API Anthropic API Key Info
APIAnthropicAPIKeyInfoobject
Anthropic API Key Info
API Deployment Visibility
APIDeploymentVisibilityenum
- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
API OpenAI API Key Info
APIOpenAIAPIKeyInfoobject
OpenAI API Key Info
API Retrieval Method
APIRetrievalMethodenum
- RETRIEVAL_METHOD_UNKNOWN: The retrieval method is unknown
- RETRIEVAL_METHOD_REWRITE: The retrieval method is rewrite
- RETRIEVAL_METHOD_STEP_BACK: The retrieval method is step back
- RETRIEVAL_METHOD_SUB_QUERIES: The retrieval method is sub queries
- RETRIEVAL_METHOD_NONE: The retrieval method is none
API Workspace
APIWorkspaceobject
AgentsAPI Keys
Create an Agent API Key
post/v2/gen-ai/agents/{agent_uuid}/api_keys
Delete API Key for an Agent
delete/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}
List Agent API Keys
get/v2/gen-ai/agents/{agent_uuid}/api_keys
Regenerate API Key for an Agent
put/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}/regenerate
Update API Key for an Agent
put/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}
AgentsChat
AgentsChatCompletions
Creates a model response for the given chat conversation.
post/chat/completions?agent=true
AgentsEvaluation Datasets
Create Evaluation Dataset
post/v2/gen-ai/evaluation_datasets
Create Presigned URLs for Evaluation Dataset File Upload
post/v2/gen-ai/evaluation_datasets/file_upload_presigned_urls
AgentsEvaluation Metrics
List Evaluation Metrics
get/v2/gen-ai/evaluation_metrics
List Datacenter Regions
get/v2/gen-ai/regions
AgentsEvaluation MetricsModels
List Available Models
get/v2/gen-ai/models
AgentsEvaluation MetricsWorkspaces
Create a Workspace
post/v2/gen-ai/workspaces
Delete a Workspace
delete/v2/gen-ai/workspaces/{workspace_uuid}
List Workspaces
get/v2/gen-ai/workspaces
List Evaluation Test Cases by Workspace
get/v2/gen-ai/workspaces/{workspace_uuid}/evaluation_test_cases
Retrieve an Existing Workspace
get/v2/gen-ai/workspaces/{workspace_uuid}
Update a Workspace
put/v2/gen-ai/workspaces/{workspace_uuid}
AgentsEvaluation MetricsWorkspacesAgents
List agents by Workspace
get/v2/gen-ai/workspaces/{workspace_uuid}/agents
Move Agents to a Workspace
put/v2/gen-ai/workspaces/{workspace_uuid}/agents
AgentsEvaluation Runs
Run an Evaluation Test Case
post/v2/gen-ai/evaluation_runs
Retrieve Results of an Evaluation Run
get/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results
Retrieve Information About an Existing Evaluation Run
get/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}
Retrieve Results of an Evaluation Run Prompt
get/v2/gen-ai/evaluation_runs/{evaluation_run_uuid}/results/{prompt_id}
API Evaluation Metric
APIEvaluationMetricobject
API Evaluation Metric Result
APIEvaluationMetricResultobject
API Evaluation Prompt
APIEvaluationPromptobject
API Evaluation Run
APIEvaluationRunobject
AgentsEvaluation Test Cases
Create Evaluation Test Case.
post/v2/gen-ai/evaluation_test_cases
List Evaluation Test Cases
get/v2/gen-ai/evaluation_test_cases
List Evaluation Runs by Test Case
get/v2/gen-ai/evaluation_test_cases/{evaluation_test_case_uuid}/evaluation_runs
Retrieve Information About an Existing Evaluation Test Case
get/v2/gen-ai/evaluation_test_cases/{test_case_uuid}
Update an Evaluation Test Case.
put/v2/gen-ai/evaluation_test_cases/{test_case_uuid}
API Evaluation Test Case
APIEvaluationTestCaseobject
API Star Metric
APIStarMetricobject
AgentsFunctions
Add Function Route to an Agent
post/v2/gen-ai/agents/{agent_uuid}/functions
Delete Function Route for an Agent
delete/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}
Update Function Route for an Agent
put/v2/gen-ai/agents/{agent_uuid}/functions/{function_uuid}
AgentsKnowledge Bases
Attach Knowledge Bases to an Agent
post/v2/gen-ai/agents/{agent_uuid}/knowledge_bases
Attach Knowledge Base to an Agent
post/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}
Detach Knowledge Base from an Agent
delete/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}
API Link Knowledge Base Output
APILinkKnowledgeBaseOutputobject
Information about a linked knowledge base
AgentsRoutes
Add Agent Route to an Agent
post/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
Delete Agent Route for an Agent
delete/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
Update Agent Route for an Agent
put/v2/gen-ai/agents/{parent_agent_uuid}/child_agents/{child_agent_uuid}
View Agent Routes
get/v2/gen-ai/agents/{uuid}/child_agents
AgentsVersions
List Agent Versions
get/v2/gen-ai/agents/{uuid}/versions
Rollback to Agent Version
put/v2/gen-ai/agents/{uuid}/versions