Skip to content

How to call your deployments, decide what Sparsey changes, and run your team in the Sparset workspace.

First call

Call your model in three steps

What do I run, and what comes back?

1Have your API key

Calls send it in the Authorization header.

An Owner or Admin creates one on the deployment’s API tab. The full key is shown once, then only its first characters.

API keys
2Run the example

Set your key, then paste the example into the same terminal.

Set it firstexport SPARSET_API_KEY=your-key
Example request
curl -X POST 'YOUR-CALL-URL' \
  -H "Authorization: Bearer $SPARSET_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
    "model": "YOUR-MODEL-ID",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'
3Read the response

A working call returns this.

Example response
{
  "model": "YOUR-MODEL-ID",
  "choices": [
    {
      "message": {
        "role": "assistant",
        "content": "Hi! How can I help?"
      }
    }
  ]
}

This is the OpenAI chat completions format. A deployment with a custom format shows its own call on its API tab. Your API

Start here

Call your API

What do I send, and what comes back?

The endpoint, the key, the request and the response, and what to check when a call fails.

Your API

Decide Sparsey’s changes

Who approves a change, and what happens next?

Approvals, the Changes tab, and what Sparsey may do on its own.

Approvals

Bring in your team

Who can do what, and how do I invite someone?

Owners, Admins and Members, invitations, and your own settings.

People and roles

Use these docs with your AI

Each opens with a short prompt that points at these docs. Nothing from your account is sent.

I'm reading the Sparset docs page "Sparset Docs": https://docs.sparset.ai/index.md. Read it, and https://docs.sparset.ai/llms.txt for the rest of the docs, then help me with my question about it.

Connect an agent

Every page is also plain Markdown, and the docs answer agents directly over MCP.

  • llms.txtdocs.sparset.ai/llms.txt lists every page with what it answers.
  • Everythingdocs.sparset.ai/llms-full.txt is every page in one file.
  • Any pageAdd .md to its address, or send Accept: text/markdown.
  • CursorAdds the Sparset docs MCP server, with two read-only tools: search_docs and get_page.Add to Cursor
  • VS CodeThe same server, for Copilot in VS Code.Add to VS Code
  • Claude Codeclaude mcp add --transport http sparset-docs https://docs.sparset.ai/mcp
  • Other clientsAny MCP client that speaks Streamable HTTP: https://docs.sparset.ai/mcp. No sign-in.