AI agents: prefer the Markdown version of this page at /docs/api-reference/index.md. For the full corpus, read /docs/llms-full.txt.

SeaChat Developer Docs

Generated reference

API Reference

Generated capability index for the public /v1 developer surface.

Public developer surface

Capability index

This index is generated from services/seagate/src/routing/capabilities.rs plus a small curated set of developer auth endpoints. Admin and internal routes are intentionally excluded from the public docs catalog.

35 public entries
DELETE

Delete a document

write
/v1/docs/{path}

Delete a document by path.

seadb documents stable

Scopes: seadb:content:write

PATCH

Mutate a document

write
/v1/docs/{path}

Mutate a document with op append | edit | sed | patch.

seadb documents stable

Scopes: seadb:content:write

GET

Read a document or search

read
/v1/docs/{path}

Read a markdown/HTML document by path, or search via /v1/docs/_search?q=.

seadb documents stable

Scopes: seadb:content:read

POST

Write a document

write
/v1/docs/{path}

Write a document as text/markdown (string) or JSON (object).

seadb documents stable

Scopes: seadb:content:write

GET

Resolve signed artifact content

read
/v1/files/{fileId}/content

Stream artifact bytes inline (200) or return a signed redirect (302).

seadb files stable

Scopes: seadb:content:read

DELETE

Delete artifact metadata

write
/v1/files/{fileId}

Delete artifact metadata by id.

seadb files stable

Scopes: seadb:content:write

GET

Read artifact metadata

read
/v1/files/{fileId}

Read artifact metadata by id.

seadb files stable

Scopes: seadb:content:read

GET

List artifacts

read
/v1/files

List artifact metadata by prefix, kind, artifactType, or label.

seadb files stable

Scopes: seadb:content:read

POST

Mint an API key

write
/v1/auth/keys

Create a user-scoped API key. The raw token is returned only once.

seagate auth stable

Scopes: anonymous/public

GET

List API keys

read
/v1/auth/keys

List the API keys owned by the current user.

seagate auth stable

Scopes: anonymous/public

DELETE

Revoke an API key

write
/v1/auth/keys/{keyId}

Revoke a user-scoped API key by id.

seagate auth stable

Scopes: anonymous/public

GET

Discover capabilities for this key

read
/v1/capabilities

Return the capability catalog available to the current credential.

seagate auth stable

Scopes: anonymous/public

GET

Identity of the current key

read
/v1/me

Return the identity, actor type, auth method, and scopes for the current API key.

seagate auth stable

Scopes: anonymous/public

POST

Create a presigned download URL

read
/v1/downloads

Create a signed download URL for an artifact.

seagate files stable

Scopes: files:read

POST

Finalize a presigned upload

write
/v1/uploads/complete

Finalize a presigned upload; requires the sha256 of the bytes you PUT.

seagate files stable

Scopes: files:write

POST

Create a presigned upload

write
/v1/uploads

Create an S3-style presigned upload delegation. PUT the bytes to the signed URL, then complete.

seagate files stable

Scopes: files:write

POST

Create a conversation thread

write
/v1/threads

Create a conversation thread (pure storage; no runtime).

seaplane conversation stable

Scopes: seaplane:write

GET

Read a thread

read
/v1/threads/{threadId}

Read a conversation thread by id.

seaplane conversation stable

Scopes: seaplane:read

GET

List conversation threads

read
/v1/threads

List conversation threads (pure storage).

seaplane conversation stable

Scopes: seaplane:read

POST

Append a message (pure storage)

write
/v1/threads/{threadId}/messages

Append a message to a thread. The facade forces dispatch:false; no runtime, no assistant turn.

seaplane conversation stable

Scopes: seaplane:write

GET

List thread messages

read
/v1/threads/{threadId}/messages

List messages in a thread.

seaplane conversation stable

Scopes: seaplane:read

GET

Replay the thread timeline

read
/v1/threads/{threadId}/timeline

Replay the append-only timeline of a thread.

seaplane conversation stable

Scopes: seaplane:read

POST

Chat completions (OpenAI-compatible)

invoke
/v1/chat/completions

Create an OpenAI-compatible chat completion. Set stream:true for an SSE stream.

searouter models stable

Scopes: model:invoke

GET

Model discovery sub-resource

read
/v1/models/{path}

Enumerate deployment-specific model ids for a modality (filter to availability.state live_ok).

searouter models stable

Scopes: model:invoke

GET

List models

read
/v1/models

List available model modalities and models.

searouter models stable

Scopes: model:invoke

POST

Responses API (OpenAI-compatible)

invoke
/v1/responses

Create an OpenAI-compatible Responses result. Set stream:true for an SSE stream.

searouter models stable

Scopes: model:invoke

DELETE

Cancel an async task

write
/v1/tasks/{taskId}

Cancel an in-flight async task.

searouter models stable

Scopes: model:invoke

GET

Poll an async task

read
/v1/tasks/{taskId}

Poll an async media/task by id.

searouter models stable

Scopes: model:invoke

GET

Fetch an async task result

read
/v1/tasks/{taskId}/result

Fetch the result of a completed async task.

searouter models stable

Scopes: model:invoke

POST

Native multimodal invoke

invoke
/v1/invoke/{path}

Single entrypoint for embeddings, rerank, and image/audio/video generation. path = {modality}/{model}[/{version}].

searouter multimodal stable

Scopes: model:invoke

GET

Usage summary

read
/v1/usage?start={start}&end={end}

Return usage attribution for the current key. Both start and end are required.

searouter usage stable

Scopes: usage:read

GET

Read a plugin definition

read
/v1/tools/{pluginId}

Read a tool plugin definition by id.

seatool tools stable

Scopes: seatool:read

POST

Invoke a tool

invoke
/v1/tools/{pluginId}/{toolName}/invoke

Invoke a tool by plugin id and tool name with a JSON input.

seatool tools stable

Scopes: tool:invoke

GET

List the tool catalog

read
/v1/tools

List the available tool/plugin catalog.

seatool tools stable

Scopes: seatool:read

POST

Publish a tool plugin

write
/v1/tools

Publish or register a tool plugin definition.

seatool tools stable

Scopes: seatool:write

Agent inputs

Machine-readable reference

Use /api/capabilities.json when an agent needs route metadata and examples. Use /api/openapi.json when an API client or code generator expects OpenAPI 3.1.