Skip to main content

Services Reference

Complete list of all SDK service classes and their methods, grouped by module. Each method corresponds to one REST endpoint.

actors

See actors module docs for permissions and data model.

MethodHTTPPathDescription
actors.listActors()GET/api/v1/api/v1/actorsList actors
actors.createActor()POST/api/v1/api/v1/actorsCreate an actor
actors.getActor()GET/api/v1/api/v1/actors/{actor_id}Get an actor by ID
actors.deleteActor()DELETE/api/v1/api/v1/actors/{actor_id}Delete an actor
actors.updateActor()PATCH/api/v1/api/v1/actors/{actor_id}Update an actor
actors.getActorTags()GET/api/v1/api/v1/actors/{actor_id}/tagsGet actor tags
actors.replaceActorTags()PUT/api/v1/api/v1/actors/{actor_id}/tagsReplace actor tags
actors.mergeActorTags()PATCH/api/v1/api/v1/actors/{actor_id}/tagsMerge actor tags

agents

See agents module docs for permissions and data model.

MethodHTTPPathDescription
agents.createAgent()POST/api/v1/api/v1/agentsCreate an agent
agents.listAgents()GET/api/v1/api/v1/agentsList agents
agents.getAgent()GET/api/v1/api/v1/agents/{agent_id}Get an agent
agents.updateAgent()PUT/api/v1/api/v1/agents/{agent_id}Update an agent
agents.patchAgent()PATCH/api/v1/api/v1/agents/{agent_id}Partially update an agent
agents.deleteAgent()DELETE/api/v1/api/v1/agents/{agent_id}Delete an agent
agents.createAgentGeneration()POST/api/v1/api/v1/agents/{agent_id}/generateRun an agent generation
agents.submitAgentToolOutputs()POST/api/v1/api/v1/agents/{agent_id}/generate/{generation_id}/tool-outputsSubmit tool outputs for a paused generation

aiProviders

See aiProviders module docs for permissions and data model.

MethodHTTPPathDescription
aiProviders.listAiProviders()GET/api/v1/api/v1/ai-providersList AI providers
aiProviders.createAiProvider()POST/api/v1/api/v1/ai-providersCreate an AI provider
aiProviders.getAiProvider()GET/api/v1/api/v1/ai-providers/{ai_provider_id}Get an AI provider
aiProviders.updateAiProvider()PATCH/api/v1/api/v1/ai-providers/{ai_provider_id}Update an AI provider
aiProviders.deleteAiProvider()DELETE/api/v1/api/v1/ai-providers/{ai_provider_id}Delete an AI provider
aiProviders.getAiProviderPrices()GET/api/v1/api/v1/ai-providers/{ai_provider_id}/pricesList per-provider price overrides
aiProviders.updateAiProviderPrices()PUT/api/v1/api/v1/ai-providers/{ai_provider_id}/pricesUpsert per-provider price overrides

apiKeys

See apiKeys module docs for permissions and data model.

MethodHTTPPathDescription
apiKeys.listApiKeys()GET/api/v1/api/v1/api-keysList API keys
apiKeys.createApiKey()POST/api/v1/api/v1/api-keysCreate an API key
apiKeys.getApiKey()GET/api/v1/api/v1/api-keys/{api_key_id}Get an API key
apiKeys.updateApiKey()PUT/api/v1/api/v1/api-keys/{api_key_id}Update an API key
apiKeys.deleteApiKey()DELETE/api/v1/api/v1/api-keys/{api_key_id}Delete an API key

chats

See chats module docs for permissions and data model.

MethodHTTPPathDescription
chats.createChat()POST/api/v1/api/v1/chatsCreate a chat
chats.listChats()GET/api/v1/api/v1/chatsList chats
chats.getChat()GET/api/v1/api/v1/chats/{chat_id}Get a chat
chats.deleteChat()DELETE/api/v1/api/v1/chats/{chat_id}Delete a chat
chats.createChatCompletionForChat()POST/api/v1/api/v1/chats/{chat_id}/completionsCreate a chat completion for a stored chat
chats.createChatCompletion()POST/api/v1/api/v1/chat/completionsCreate a chat completion (stateless)

conversations

See conversations module docs for permissions and data model.

MethodHTTPPathDescription
conversations.listConversations()GET/api/v1/api/v1/conversationsList conversations
conversations.createConversation()POST/api/v1/api/v1/conversationsCreate a conversation
conversations.getConversation()GET/api/v1/api/v1/conversations/{conversation_id}Get a conversation by ID
conversations.updateConversation()PATCH/api/v1/api/v1/conversations/{conversation_id}Update a conversation
conversations.deleteConversation()DELETE/api/v1/api/v1/conversations/{conversation_id}Delete a conversation
conversations.listConversationMessages()GET/api/v1/api/v1/conversations/{conversation_id}/messagesList conversation messages
conversations.addConversationMessage()POST/api/v1/api/v1/conversations/{conversation_id}/messagesAdd a message to a conversation
conversations.generateConversationMessage()POST/api/v1/api/v1/conversations/{conversation_id}/generateGenerate the next message in a conversation
conversations.removeConversationMessage()DELETE/api/v1/api/v1/conversations/{conversation_id}/messages/{document_id}Remove a message from a conversation
conversations.getConversationTags()GET/api/v1/api/v1/conversations/{conversation_id}/tagsGet conversation tags
conversations.replaceConversationTags()PUT/api/v1/api/v1/conversations/{conversation_id}/tagsReplace conversation tags
conversations.mergeConversationTags()PATCH/api/v1/api/v1/conversations/{conversation_id}/tagsMerge conversation tags

discussions

See discussions module docs for permissions and data model.

MethodHTTPPathDescription
discussions.listDiscussions()GET/api/v1/api/v1/discussionsList discussions
discussions.createDiscussion()POST/api/v1/api/v1/discussionsCreate a discussion
discussions.getDiscussionRun()GET/api/v1/api/v1/discussions/runs/{run_id}Get a discussion run by ID
discussions.getDiscussion()GET/api/v1/api/v1/discussions/{discussion_id}Get a discussion by ID
discussions.updateDiscussion()PATCH/api/v1/api/v1/discussions/{discussion_id}Update a discussion
discussions.deleteDiscussion()DELETE/api/v1/api/v1/discussions/{discussion_id}Delete a discussion
discussions.createDiscussionRun()POST/api/v1/api/v1/discussions/{discussion_id}/runsInvoke a discussion
discussions.listDiscussionRuns()GET/api/v1/api/v1/discussions/{discussion_id}/runsList a discussion's runs

documents

See documents module docs for permissions and data model.

MethodHTTPPathDescription
documents.listDocuments()GET/api/v1/api/v1/documentsList documents
documents.createDocument()POST/api/v1/api/v1/documentsCreate a document
documents.ingestDocument()POST/api/v1/api/v1/documents/ingestIngest a file into a chunked document
documents.getDocument()GET/api/v1/api/v1/documents/{document_id}Get a document by ID
documents.deleteDocument()DELETE/api/v1/api/v1/documents/{document_id}Delete a document
documents.updateDocument()PATCH/api/v1/api/v1/documents/{document_id}Update a document
documents.getDocumentStatus()GET/api/v1/api/v1/documents/{document_id}/statusGet document ingestion status
documents.reingestDocument()POST/api/v1/api/v1/documents/{document_id}/ingestRe-ingest an existing document
documents.completeIngestionCallback()POST/api/v1/api/v1/documents/{document_id}/ingestion-callbackDeliver an async converter result
documents.getDocumentTags()GET/api/v1/api/v1/documents/{document_id}/tagsGet document tags
documents.replaceDocumentTags()PUT/api/v1/api/v1/documents/{document_id}/tagsReplace document tags
documents.mergeDocumentTags()PATCH/api/v1/api/v1/documents/{document_id}/tagsMerge document tags

embeddings

See embeddings module docs for permissions and data model.

MethodHTTPPathDescription
embeddings.createEmbeddings()POST/api/v1/api/v1/embeddingsCreate embeddings

files

See files module docs for permissions and data model.

MethodHTTPPathDescription
files.listFiles()GET/api/v1/api/v1/filesList all files
files.createFile()POST/api/v1/api/v1/filesCreate a file
files.uploadFile()POST/api/v1/api/v1/files/uploadUpload a file
files.uploadFileBase64()POST/api/v1/api/v1/files/upload/base64Upload a file using base64 encoding
files.createPresignedUrl()POST/api/v1/api/v1/files/presigned-urlCreate a presigned upload URL
files.uploadFileWithToken()POST/api/v1/api/v1/files/upload/{token}Upload a file using an upload token
files.getFile()GET/api/v1/api/v1/files/{file_id}Get a file by ID
files.deleteFile()DELETE/api/v1/api/v1/files/{file_id}Delete a file
files.downloadFile()GET/api/v1/api/v1/files/{file_id}/downloadDownload a file
files.updateFileMetadata()PATCH/api/v1/api/v1/files/{file_id}/metadataUpdate file metadata
files.downloadFileBase64()GET/api/v1/api/v1/files/{file_id}/download/base64Download file as base64
files.getFileTags()GET/api/v1/api/v1/files/{file_id}/tagsGet file tags
files.replaceFileTags()PUT/api/v1/api/v1/files/{file_id}/tagsReplace file tags
files.mergeFileTags()PATCH/api/v1/api/v1/files/{file_id}/tagsMerge file tags

formations

See formations module docs for permissions and data model.

MethodHTTPPathDescription
formations.validateFormation()POST/api/v1/api/v1/formations/validateValidate a formation template
formations.planFormation()POST/api/v1/api/v1/formations/planPlan a formation deployment
formations.listFormations()GET/api/v1/api/v1/formationsList formations
formations.createFormation()POST/api/v1/api/v1/formationsCreate a new formation
formations.getFormation()GET/api/v1/api/v1/formations/{formation_id}Get a specific formation
formations.updateFormation()PUT/api/v1/api/v1/formations/{formation_id}Update an formation
formations.deleteFormation()DELETE/api/v1/api/v1/formations/{formation_id}Delete an formation
formations.listFormationEvents()GET/api/v1/api/v1/formations/{formation_id}/eventsList formation operation events

generations

See generations module docs for permissions and data model.

MethodHTTPPathDescription
generations.listGenerations()GET/api/v1/api/v1/generationsList generations
generations.getGeneration()GET/api/v1/api/v1/generations/{generation_id}Get a generation

ingestionRules

See ingestionRules module docs for permissions and data model.

MethodHTTPPathDescription
ingestionRules.listIngestionRules()GET/api/v1/api/v1/ingestion-rulesList ingestion rules
ingestionRules.createIngestionRule()POST/api/v1/api/v1/ingestion-rulesCreate an ingestion rule
ingestionRules.getIngestionRule()GET/api/v1/api/v1/ingestion-rules/{ingestion_rule_id}Get an ingestion rule
ingestionRules.updateIngestionRule()PATCH/api/v1/api/v1/ingestion-rules/{ingestion_rule_id}Update an ingestion rule
ingestionRules.deleteIngestionRule()DELETE/api/v1/api/v1/ingestion-rules/{ingestion_rule_id}Delete an ingestion rule

knowledge

See knowledge module docs for permissions and data model.

MethodHTTPPathDescription
knowledge.searchKnowledge()POST/api/v1/api/v1/knowledge/searchSearch knowledge

memories

See memories module docs for permissions and data model.

MethodHTTPPathDescription
memories.listMemories()GET/api/v1/api/v1/memoriesList memories
memories.createMemory()POST/api/v1/api/v1/memoriesCreate a memory
memories.getMemory()GET/api/v1/api/v1/memories/{memory_id}Get a memory
memories.updateMemory()PUT/api/v1/api/v1/memories/{memory_id}Update a memory
memories.deleteMemory()DELETE/api/v1/api/v1/memories/{memory_id}Delete a memory

memoryEntries

See memoryEntries module docs for permissions and data model.

MethodHTTPPathDescription
memoryEntries.listMemoryEntries()GET/api/v1/api/v1/memory-entriesList memory entries
memoryEntries.createMemoryEntry()POST/api/v1/api/v1/memory-entriesCreate a memory entry
memoryEntries.getMemoryEntry()GET/api/v1/api/v1/memory-entries/{entry_id}Get a memory entry
memoryEntries.updateMemoryEntry()PUT/api/v1/api/v1/memory-entries/{entry_id}Update a memory entry
memoryEntries.deleteMemoryEntry()DELETE/api/v1/api/v1/memory-entries/{entry_id}Delete a memory entry

orchestrations

See orchestrations module docs for permissions and data model.

MethodHTTPPathDescription
orchestrations.createOrchestration()POST/api/v1/api/v1/orchestrationsCreate an orchestration
orchestrations.listOrchestrations()GET/api/v1/api/v1/orchestrationsList orchestrations
orchestrations.validateOrchestration()POST/api/v1/api/v1/orchestrations/validateValidate an orchestration graph
orchestrations.getOrchestration()GET/api/v1/api/v1/orchestrations/{orchestration_id}Get an orchestration
orchestrations.updateOrchestration()PATCH/api/v1/api/v1/orchestrations/{orchestration_id}Update an orchestration
orchestrations.deleteOrchestration()DELETE/api/v1/api/v1/orchestrations/{orchestration_id}Delete an orchestration
orchestrations.startOrchestrationRun()POST/api/v1/api/v1/orchestration-runsStart an orchestration run
orchestrations.listOrchestrationRuns()GET/api/v1/api/v1/orchestration-runsList orchestration runs
orchestrations.cancelOrchestrationRun()POST/api/v1/api/v1/orchestration-runs/{run_id}/cancelCancel an orchestration run
orchestrations.submitHumanInput()POST/api/v1/api/v1/orchestration-runs/{run_id}/human-inputSubmit human input
orchestrations.resumeOrchestrationRun()POST/api/v1/api/v1/orchestration-runs/{run_id}/resumeResume an orchestration run
orchestrations.getOrchestrationRun()GET/api/v1/api/v1/orchestration-runs/{run_id}Get an orchestration run

policies

See policies module docs for permissions and data model.

MethodHTTPPathDescription
policies.listPolicies()GET/api/v1/api/v1/policiesList all policies
policies.createPolicy()POST/api/v1/api/v1/policiesCreate a policy
policies.getPolicy()GET/api/v1/api/v1/policies/{policy_id}Get a policy
policies.updatePolicy()PUT/api/v1/api/v1/policies/{policy_id}Update a policy
policies.deletePolicy()DELETE/api/v1/api/v1/policies/{policy_id}Delete a policy

projects

See projects module docs for permissions and data model.

MethodHTTPPathDescription
projects.listProjects()GET/api/v1/api/v1/projectsList projects
projects.createProject()POST/api/v1/api/v1/projectsCreate a project
projects.getProject()GET/api/v1/api/v1/projects/{project_id}Get a project
projects.updateProject()PATCH/api/v1/api/v1/projects/{project_id}Rename a project
projects.deleteProject()DELETE/api/v1/api/v1/projects/{project_id}Delete a project
projects.getProjectPrices()GET/api/v1/api/v1/projects/{project_id}/pricesList a project's price rows
projects.updateProjectPrices()PUT/api/v1/api/v1/projects/{project_id}/pricesUpsert a project's price rows

secrets

See secrets module docs for permissions and data model.

MethodHTTPPathDescription
secrets.listSecrets()GET/api/v1/api/v1/secretsList secrets
secrets.createSecret()POST/api/v1/api/v1/secretsCreate a secret
secrets.getSecret()GET/api/v1/api/v1/secrets/{secret_id}Get a secret
secrets.updateSecret()PATCH/api/v1/api/v1/secrets/{secret_id}Update a secret
secrets.deleteSecret()DELETE/api/v1/api/v1/secrets/{secret_id}Delete a secret

sessions

See sessions module docs for permissions and data model.

MethodHTTPPathDescription
sessions.createSession()POST/api/v1/api/v1/sessionsCreate a session
sessions.listSessions()GET/api/v1/api/v1/sessionsList sessions
sessions.getSession()GET/api/v1/api/v1/sessions/{session_id}Get a session
sessions.updateSession()PATCH/api/v1/api/v1/sessions/{session_id}Update a session
sessions.deleteSession()DELETE/api/v1/api/v1/sessions/{session_id}Delete a session
sessions.addSessionMessage()POST/api/v1/api/v1/sessions/{session_id}/messagesAdd a user message
sessions.generateSessionResponse()POST/api/v1/api/v1/sessions/{session_id}/generateTrigger agent generation
sessions.submitSessionToolOutputs()POST/api/v1/api/v1/sessions/{session_id}/tool-outputsSubmit tool outputs
sessions.getSessionTags()GET/api/v1/api/v1/sessions/{session_id}/tagsGet session tags
sessions.replaceSessionTags()PUT/api/v1/api/v1/sessions/{session_id}/tagsReplace session tags
sessions.mergeSessionTags()PATCH/api/v1/api/v1/sessions/{session_id}/tagsMerge session tags

tools

See tools module docs for permissions and data model.

MethodHTTPPathDescription
tools.createTool()POST/api/v1/api/v1/toolsCreate a tool
tools.listTools()GET/api/v1/api/v1/toolsList tools
tools.getTool()GET/api/v1/api/v1/tools/{tool_id}Get a tool
tools.updateTool()PATCH/api/v1/api/v1/tools/{tool_id}Update a tool
tools.deleteTool()DELETE/api/v1/api/v1/tools/{tool_id}Delete a tool
tools.callTool()POST/api/v1/api/v1/tools/{tool_id}/callCall a tool

traces

See traces module docs for permissions and data model.

MethodHTTPPathDescription
traces.listTraces()GET/api/v1/api/v1/tracesList traces
traces.getTrace()GET/api/v1/api/v1/traces/{trace_id}Get a trace
traces.getTraceTree()GET/api/v1/api/v1/traces/{trace_id}/treeGet trace tree

triggers

See triggers module docs for permissions and data model.

MethodHTTPPathDescription
triggers.listTriggers()GET/api/v1/api/v1/triggersList triggers
triggers.createTrigger()POST/api/v1/api/v1/triggersCreate a trigger
triggers.getTrigger()GET/api/v1/api/v1/triggers/{trigger_id}Get a trigger
triggers.updateTrigger()PATCH/api/v1/api/v1/triggers/{trigger_id}Update a trigger
triggers.deleteTrigger()DELETE/api/v1/api/v1/triggers/{trigger_id}Delete a trigger
triggers.fireTrigger()POST/api/v1/api/v1/triggers/{trigger_id}/fireFire a trigger
triggers.getTriggerSecret()GET/api/v1/api/v1/triggers/{trigger_id}/secretGet trigger secret
triggers.rotateTriggerSecret()POST/api/v1/api/v1/triggers/{trigger_id}/rotate-secretRotate trigger secret
triggers.listTriggerFirings()GET/api/v1/api/v1/trigger-firingsList trigger firings
triggers.getTriggerFiring()GET/api/v1/api/v1/trigger-firings/{firing_id}Get a trigger firing

usage

See usage module docs for permissions and data model.

MethodHTTPPathDescription
usage.listUsageMeters()GET/api/v1/api/v1/usage/metersList usage meters
usage.getUsageReceipt()GET/api/v1/api/v1/usage/receiptGet a generation's billing receipt
usage.getPriceBook()GET/api/v1/api/v1/usage/pricesGet the price book
usage.upsertPriceBook()PUT/api/v1/api/v1/usage/pricesUpsert price-book rows

users

See users module docs for permissions and data model.

MethodHTTPPathDescription
users.getCurrentUser()GET/api/v1/api/v1/users/meGet the current authenticated user
users.listUsers()GET/api/v1/api/v1/usersList all users
users.createUser()POST/api/v1/api/v1/usersCreate a user
users.getUser()GET/api/v1/api/v1/users/{user_id}Get a user by ID
users.deleteUser()DELETE/api/v1/api/v1/users/{user_id}Delete a user by ID
users.bootstrapUser()POST/api/v1/api/v1/users/bootstrapCreate the first admin user
users.loginUser()POST/api/v1/api/v1/users/loginLogin user
users.attachUserPolicies()PUT/api/v1/api/v1/users/{user_id}/policiesAttach policies to a user

webhooks

See webhooks module docs for permissions and data model.

MethodHTTPPathDescription
webhooks.listWebhooks()GET/api/v1/api/v1/webhooksList webhooks
webhooks.createWebhook()POST/api/v1/api/v1/webhooksCreate a webhook
webhooks.getWebhook()GET/api/v1/api/v1/webhooks/{webhook_id}Get a webhook
webhooks.updateWebhook()PUT/api/v1/api/v1/webhooks/{webhook_id}Update a webhook
webhooks.deleteWebhook()DELETE/api/v1/api/v1/webhooks/{webhook_id}Delete a webhook
webhooks.listWebhookDeliveries()GET/api/v1/api/v1/webhook-deliveriesList webhook deliveries
webhooks.getWebhookDelivery()GET/api/v1/api/v1/webhook-deliveries/{delivery_id}Get a delivery
webhooks.getWebhookSecret()GET/api/v1/api/v1/webhooks/{webhook_id}/secretGet webhook secret
webhooks.rotateWebhookSecret()POST/api/v1/api/v1/webhooks/{webhook_id}/rotate-secretRotate webhook secret