Skip to main content

API endpoint quick reference

The following public endpoints use https://api.genispace.ai/api as the base URL. Availability still depends on your Space, role, application, and deployment.

Agents​

MethodEndpointPurpose
GET / POST/agentsList or create agents
GET / PUT / DELETE/agents/{agentId}Read, update, or delete an agent
POST/agents/{agentId}/chatConversational Agent; LangGraph V3 when streaming
POST/agents/{agentId}/executeStructured task-agent execution
GET/agents/{agentId}/mcp/toolsList MCP-backed tools available to an agent
POST / GET/agents/sessionsCreate or list conversation sessions
GET / PATCH / DELETE/agents/sessions/{sessionId}Read, rename, or delete a session
GET/agents/sessions/{sessionId}/messagesList stored messages and execution events
POST/agents/{agentId}/sessions/{sessionId}/context/statusRead context usage
POST/agents/{agentId}/sessions/{sessionId}/context/compactCompact model context
GET/agents/{agentId}/sessions/{sessionId}/interactions/pendingList pending user interactions
POST/agents/{agentId}/turns/{turnId}/resumeResume a user-choice interaction as a V3 stream
POST/agents/{agentId}/turns/{turnId}/cancelCancel an active conversational turn

See Agent API for the stream header, events, request bodies, and interaction lifecycle.

Agent jobs​

MethodEndpointPurpose
POST/agent-jobsSubmit a background Agent job such as AGENT_INVOKE
GET/agent-jobs/{jobId}Read phase, progress, result, or error
POST/agent-jobs/{jobId}/cancelRequest cooperative cancellation

Tasks and workflow execution​

MethodEndpointPurpose
GET / POST/tasksList or create tasks
GET / PUT / DELETE/tasks/{taskId}Read, update, or delete a task
POST/tasks/{taskId}/executeStart a manual execution
GET/tasks/{taskId}/executionsList task executions
GET/tasks/executions/{executionId}Read execution details
GET/tasks/runs/{executionId}Read current run status

Datasets​

MethodEndpointPurpose
GET / POST/datasetsList or create Datasets
GET / DELETE/datasets/{datasetId}Read or delete a Dataset
POST/datasets/{datasetId}/data/insertInsert records
POST/datasets/{datasetId}/data/updateUpdate matching records
POST/datasets/{datasetId}/data/queryTyped field, ID, sort, and pagination query
POST/datasets/{datasetId}/data/countExact record count for a valid filter
POST/datasets/{datasetId}/data/deleteDelete matching records; confirmation required by clients
POST/datasets/{datasetId}/data/searchVector semantic search from text
POST/datasets/{datasetId}/data/full-text-searchFull-text search

Use Dataset Schema field names exactly. Prefer the typed ids request field for bulk ID lookups instead of hand-building filter expressions.

API keys​

MethodEndpointPurpose
GET / POST/api-keysList or create API keys
GET / PUT/api-keys/{keyId}Read or update key metadata
POST/api-keys/{keyId}/revokeRevoke a key
POST/api-keys/validateValidate a key

Models relay​

/models/v1/* is the OpenAI-compatible model relay and does not use the core /api prefix. For example:

POST https://api.genispace.ai/models/v1/chat/completions
POST https://api.genispace.ai/models/v1/embeddings

The Models relay is not a substitute for /api/agents/{agentId}/chat: the two APIs have different contracts and runtime behavior.

MCP​

The MCP server uses Streamable HTTP at:

https://api.genispace.ai/mcp

See MCP integration.