Get an API key
Create a project-scoped key from SeaChat, then keep it in an environment variable. Keys carry explicit scopes; use the narrowest scope that fits the job.
export SEACHAT_API_KEY="sk-seaverse-..."
Agent-native API documentation
Build with SeaChat's agent-native APIs: models, threads, tools, files, Play apps, usage, and capability discovery.
Create a project-scoped key from SeaChat, then keep it in an environment variable. Keys carry explicit scopes; use the narrowest scope that fits the job.
export SEACHAT_API_KEY="sk-seaverse-..."
SeaRouter exposes an OpenAI-style Responses endpoint through SeaGate. Provider credentials stay server-side; clients send only the SeaChat key.
curl https://seachat.ai/api/searouter/llm/v1/responses \
-H "Authorization: Bearer $SEACHAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.5",
"input": "Write a concise launch checklist for an agent API."
}'
Agents should read the gateway capability catalog before choosing routes. It returns scope, stability, runtime-safety, and example metadata for the current credential.
curl "https://seachat.ai/api/seagate/v1/capabilities?runtime=true&includeDenied=true" \
-H "Authorization: Bearer $SEACHAT_API_KEY"
For image, video, audio, embedding, and rerank work, query model help before sending provider-shaped parameters.
curl "https://seachat.ai/api/searouter/v1/help/models/search?modality=image&q=seedream" \
-H "Authorization: Bearer $SEACHAT_API_KEY"
SeaChat publishes a gateway capability catalog so agents can reason from declared capability ids, scopes, stability, and runtime safety before choosing a route.
/api/seagate/v1/capabilities?runtime=true
/api/seaplane/v1/public/skill-catalog/catalog.json
/api/seaplane/v1/admin/skill-catalog/sync
/api/seaplane/v1/public/skill-catalog/releases/{path}
/api/searouter/v1/help
/api/searouter/v1/invoke/image/{model}/{version}
/api/searouter/llm/v1/responses
/api/searouter/v1/help/models/search?q={query}
/api/searouter/v1/usage/summary
/api/seatool/v1/catalog