# CompletionKit API

**Canonical:** https://apis.io/apis/completionkit-com/completionkit-com-api/  
**Provider:** CompletionKit — https://apis.io/providers/completionkit-com/  
**Base URL:** https://completionkit.com/orgs/{org-slug}/api/v1  
**Documentation:** https://completionkit.com/docs/api

CompletionKit API is published by [CompletionKit](https://apis.io/providers/completionkit-com/) on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

CompletionKit REST API (v1) for prompts, runs, responses, datasets, metrics and metric versions, metric groups, human-judge agreements, tags, provider credentials, promptfoo imports and usage, authenticated with a Bearer token and scoped per organization; the same surface is exposed as a 54-tool MCP server at /orgs/{org-slug}/mcp. The reference documents 46 endpoints; CompletionKit publishes no machine-readable contract, so the contract linked here was generated from the documentation by API Evangelist (2026-11-04) and is not the provider's own document.

## Operations (29)

| Method | Path | Summary |
|---|---|---|
| GET | `/orgs/your-org-slug-goes-here/api/v1/agreements` | GET /orgs/your-org-slug-goes-here/api/v1/agreements |
| POST | `/orgs/your-org-slug-goes-here/api/v1/datasets` | POST /orgs/your-org-slug-goes-here/api/v1/datasets |
| PATCH | `/orgs/your-org-slug-goes-here/api/v1/datasets/1` | PATCH /orgs/your-org-slug-goes-here/api/v1/datasets/1 |
| POST | `/orgs/your-org-slug-goes-here/api/v1/imports/promptfoo` | POST /orgs/your-org-slug-goes-here/api/v1/imports/promptfoo |
| POST | `/orgs/your-org-slug-goes-here/api/v1/metric_groups` | POST /orgs/your-org-slug-goes-here/api/v1/metric_groups |
| PATCH | `/orgs/your-org-slug-goes-here/api/v1/metric_groups/1` | PATCH /orgs/your-org-slug-goes-here/api/v1/metric_groups/1 |
| POST | `/orgs/your-org-slug-goes-here/api/v1/metrics` | POST /orgs/your-org-slug-goes-here/api/v1/metrics |
| PATCH | `/orgs/your-org-slug-goes-here/api/v1/metrics/1` | PATCH /orgs/your-org-slug-goes-here/api/v1/metrics/1 |
| POST | `/orgs/your-org-slug-goes-here/api/v1/metrics/1/metric_versions/5/publish` | POST /orgs/your-org-slug-goes-here/api/v1/metrics/1/metric_versions/5/publish |
| POST | `/orgs/your-org-slug-goes-here/api/v1/metrics/1/suggest_variants` | POST /orgs/your-org-slug-goes-here/api/v1/metrics/1/suggest_variants |
| GET | `/orgs/your-org-slug-goes-here/api/v1/prompts` | GET /orgs/your-org-slug-goes-here/api/v1/prompts |
| POST | `/orgs/your-org-slug-goes-here/api/v1/prompts` | POST /orgs/your-org-slug-goes-here/api/v1/prompts |
| PATCH | `/orgs/your-org-slug-goes-here/api/v1/prompts/1` | PATCH /orgs/your-org-slug-goes-here/api/v1/prompts/1 |
| POST | `/orgs/your-org-slug-goes-here/api/v1/prompts/1/publish` | POST /orgs/your-org-slug-goes-here/api/v1/prompts/1/publish |
| POST | `/orgs/your-org-slug-goes-here/api/v1/provider_credentials` | POST /orgs/your-org-slug-goes-here/api/v1/provider_credentials |
| PATCH | `/orgs/your-org-slug-goes-here/api/v1/provider_credentials/1` | PATCH /orgs/your-org-slug-goes-here/api/v1/provider_credentials/1 |
| GET | `/orgs/your-org-slug-goes-here/api/v1/runs` | GET /orgs/your-org-slug-goes-here/api/v1/runs |
| POST | `/orgs/your-org-slug-goes-here/api/v1/runs` | POST /orgs/your-org-slug-goes-here/api/v1/runs |
| GET | `/orgs/your-org-slug-goes-here/api/v1/runs/1` | GET /orgs/your-org-slug-goes-here/api/v1/runs/1 |
| PATCH | `/orgs/your-org-slug-goes-here/api/v1/runs/1` | PATCH /orgs/your-org-slug-goes-here/api/v1/runs/1 |
| GET | `/orgs/your-org-slug-goes-here/api/v1/runs/1/compare` | GET /orgs/your-org-slug-goes-here/api/v1/runs/1/compare |
| POST | `/orgs/your-org-slug-goes-here/api/v1/runs/1/generate` | POST /orgs/your-org-slug-goes-here/api/v1/runs/1/generate |
| POST | `/orgs/your-org-slug-goes-here/api/v1/runs/1/regrade` | POST /orgs/your-org-slug-goes-here/api/v1/runs/1/regrade |
| POST | `/orgs/your-org-slug-goes-here/api/v1/runs/1/rerun` | POST /orgs/your-org-slug-goes-here/api/v1/runs/1/rerun |
| GET | `/orgs/your-org-slug-goes-here/api/v1/runs/1/responses` | GET /orgs/your-org-slug-goes-here/api/v1/runs/1/responses |
| POST | `/orgs/your-org-slug-goes-here/api/v1/runs/1/responses/{responseid}/metrics/3/agreements` | POST /orgs/your-org-slug-goes-here/api/v1/runs/1/responses/{responseId}/metrics/3/agreements |
| POST | `/orgs/your-org-slug-goes-here/api/v1/runs/1/retry_failures` | POST /orgs/your-org-slug-goes-here/api/v1/runs/1/retry_failures |
| GET | `/orgs/your-org-slug-goes-here/api/v1/tags` | GET /orgs/your-org-slug-goes-here/api/v1/tags |
| POST | `/orgs/your-org-slug-goes-here/api/v1/tags` | POST /orgs/your-org-slug-goes-here/api/v1/tags |

## Machine-readable artifacts (8)

- **OpenAPI** — https://artifacts.apis.io/completionkit-com/openapi/_ae-authored/completionkit-com-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/completionkit-com/json-schema/completionkit-com-patch-orgs-your-org-slug-goes-here-api-v1-provider-credentials1-respons-schema.json
- **JSONSchema** — https://artifacts.apis.io/completionkit-com/json-schema/completionkit-com-post-orgs-your-org-slug-goes-here-api-v1-imports-promptfoo-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/completionkit-com/json-schema/completionkit-com-post-orgs-your-org-slug-goes-here-api-v1-provider-credentials-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/completionkit-com/json-schema/completionkit-com-patch-orgs-your-org-slug-goes-here-api-v1-metrics1-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/completionkit-com/json-schema/completionkit-com-post-orgs-your-org-slug-goes-here-api-v1-runs1-responses-responseid-metr-schema.json
- **JSONSchema** — https://artifacts.apis.io/completionkit-com/json-schema/completionkit-com-post-orgs-your-org-slug-goes-here-api-v1-runs-request-schema.json
- **APIsJSON** — https://artifacts.apis.io/completionkit-com/apis.yml

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/completionkit-com` 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/completionkit-com/completionkit-com-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/completionkit-com/.
