> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simplismart.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Platform APIs

> Programmatic access to your Simplismart deployments, models, usage, observability, workspaces, alerts and batch jobs.

The Platform APIs give you programmatic access to your Simplismart organisation. Use them to monitor deployment health, track usage and costs, pull metrics into your own observability stack, browse models, and keep an eye on alerts and batch jobs, all with the same API key you use for inference.

## What you can do

> [card] Monitor deployments
>
> List deployments, check status and health, and inspect configuration across clusters.

> [card] Track usage
>
> View usage analytics and list your API tokens.

> [card] Observe metrics
>
> Federate deployment metrics into Prometheus or Grafana.

> [card] Explore models and alerts
>
> Browse model repositories and catalogues, and view alert rules, channels and batch jobs.

## Authentication

Send your API key as a Bearer token. You can generate one under **Settings → API Keys** (see [API key generation](https://docs.simplismart.ai/api-reference/introduction.md#api-key-generation)).

```bash theme={null}
curl -H "Authorization: Bearer $SIMPLISMART_API_KEY" \
  "https://api.app.simplismart.ai/deployments/model-deployments/"
```

The token determines your organisation. Requests are evaluated with the permissions of the user who created the token, so a token can only see what that user can see. Authentication failures return `401 {"error": "..."}` and permission failures return `403 {"error": "..."}`.

## Conventions

* **Workspaces.** Many endpoints accept `workspace_id` (or `workspaceId`). When omitted, your organisation's default workspace is used. Passing it explicitly is recommended.
* **Unknown parameters** in the query string or JSON body are ignored.
* **Pagination.** Only endpoints that document `limit`/`offset` or `count`/`offset` are paginated; others return the full list.
* **Error shape.** Errors are returned as `{"error": "<message>"}` with a 401, 403, 404 or 500 status. Each endpoint page shows its possible error messages in the response examples.
* Some usage endpoints use `POST` because they take a structured query body.

## Endpoint groups

Use the sidebar to browse each endpoint:

| Group | Covers |
| - | - |
| **Accounts** | Workspaces and workspace members |
| **Models** | Model repositories and profiles |
| **Deployments** | Deployment listing, status, health and configuration |
| **Observability** | Deployment metrics |
| **Usage** | Usage analytics and API tokens |
| **Alerting** | Alert rules, channels and presets |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.