# SchemaLabs API

**Canonical:** https://apis.io/apis/schemalabs-ai/schemalabs-ai-api/  
**Provider:** SchemaLabs — https://apis.io/providers/schemalabs-ai/  
**Base URL:** https://api.schemalabs.ai  
**Documentation:** https://docs.schemalabs.ai/endpoints

SchemaLabs API is one of 2 APIs that [SchemaLabs](https://apis.io/providers/schemalabs-ai/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 5 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 5 JSON Schemas.

SchemaLabs API as documented publicly: 29 operations. Contract generated from the documentation by API Evangelist (2026-11-24); not the provider's own document.

## Operations (29)

| Method | Path | Summary |
|---|---|---|
| GET | `/v2/data` | List data |
| DELETE | `/v2/data/{id}` | Delete data |
| GET | `/v2/data/{id}` | Retrieve data |
| POST | `/v2/data/{id}/pin` | Pin a dataset |
| POST | `/v2/data/{id}/sync` | Sync a connection |
| POST | `/v2/data/{id}/unpin` | Unpin a dataset |
| POST | `/v2/data/connect` | Connect a source |
| POST | `/v2/data/generate` | Generate synthetic data |
| GET | `/v2/endpoints` | List endpoints |
| POST | `/v2/endpoints` | POST /v2/endpoints |
| DELETE | `/v2/endpoints/{id}` | Tears the endpoint down immediately; its reports remain in the org’s audit trail. |
| GET | `/v2/endpoints/{id}` | Read the stored endpoint object and the bundle already computed over the pinned data. |
| GET | `/v2/endpoints/{id}/logs` | Returns the endpoint’s operation log (create, refresh, upgrade, job events). |
| POST | `/v2/endpoints/{id}/refresh` | Refresh re‑syncs data, re‑scores the endpoint when the source data changes. |
| POST | `/v2/endpoints/{id}/upgrade` | Upgrade runs the same pinned data on a newer base and re‑scores the endpoint. |
| GET | `/v2/jobs` | List jobs |
| GET | `/v2/jobs/{id}` | Retrieve a job |
| POST | `/v2/jobs/{id}/cancel` | Cancel a job |
| GET | `/v2/keys` | List keys |
| POST | `/v2/keys` | POST /v2/keys |
| DELETE | `/v2/keys/{id}` | Revoke a key |
| POST | `/v2/keys/{id}/rotate` | Rotate a key |
| GET | `/v2/models` | List models |
| GET | `/v2/openapi/{id}` | Endpoint OpenAPI description |
| POST | `/v2/preflight` | Preflight a call run |
| GET | `/v2/reports` | List reports |
| GET | `/v2/reports/{id}` | Retrieve a report |
| POST | `/v2/run` | POST /v2/run |
| GET | `/v2/usage` | Retrieve usage |

## Machine-readable artifacts (6)

- **OpenAPI** — https://artifacts.apis.io/schemalabs-ai/openapi/_ae-authored/schemalabs-ai-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/schemalabs-ai/json-schema/schemalabs-ai-get-v2-endpoints-id-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/schemalabs-ai/json-schema/schemalabs-ai-post-v2-endpoints-id-upgrade-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/schemalabs-ai/json-schema/schemalabs-ai-post-v2-endpoints-id-refresh-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/schemalabs-ai/json-schema/schemalabs-ai-get-v2-endpoints-id-logs-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/schemalabs-ai/json-schema/schemalabs-ai-post-v2-endpoints-id-upgrade-request-schema.json

## Other SchemaLabs APIs (1)

- [SchemaLabs API](https://apis.io/apis/schemalabs-ai/schemalabs-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/schemalabs-ai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/schemalabs-ai/schemalabs-ai-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/schemalabs-ai/.
