# Sparset Docs

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

Source: https://docs.sparset.ai/

## First call

Call your model in three steps:

1. **Have 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.
2. **Run the example.** Set your key, then paste the example into the same terminal:

```bash
export SPARSET_API_KEY=your-key

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"}]}'
```

3. **Read the response.** A working call returns this:

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

This is the OpenAI chat completions format. YOUR-CALL-URL and YOUR-MODEL-ID are on the deployment’s API tab. A deployment with a custom format shows its own call there.

## Start here

- [Your API](https://docs.sparset.ai/reference/your-api.md): the endpoint, the key, the request and the response.
- [Approvals](https://docs.sparset.ai/guide/approvals.md): who approves Sparsey’s changes, and what happens next.
- [People and roles](https://docs.sparset.ai/guide/people.md): who can do what, and how to invite someone.

Every page is listed in https://docs.sparset.ai/llms.txt.
