REST API
The Skep REST API is what the web app uses. Everything you see in the app comes from it, and agents get the same objects over MCP (see MCP tools). This page lists every endpoint a customer can call, grouped by area.
Base URL and format
Section titled “Base URL and format”All routes live under /v1 on your Skep URL: https://app.skep.observer/v1.
Requests and responses are JSON unless a row says otherwise. Objects may gain fields over time. Ignore fields you do not know.
curl -s -H "Authorization: Bearer skk_..." https://app.skep.observer/v1/servicesAuthentication
Section titled “Authentication”Send one of these with every request.
API keys
Section titled “API keys”Authorization: Bearer skk_... authenticates an API key. An admin creates keys in Agents, then Connect, or with POST /v1/api-keys. There are two kinds:
| Kind | Prefix | Works on |
|---|---|---|
service_account |
skk_ |
Every route its scopes allow. Use it for agents, scripts and CI |
collector |
skc_ |
Only the collector routes (register, snapshot, heartbeat, observations, OpAMP). Every other route answers 403 forbidden |
A key’s scopes are capped by its creator’s current role and grants while the creator is a member.
An agent may send X-Skep-On-Behalf-Of: <email> to name the person it acts for. Skep records it in the audit log. The header grants nothing and is honored only for service_account keys.
Browser sessions
Section titled “Browser sessions”People sign in and get a skep_session cookie. Every request that is not a GET and is authenticated by the cookie must send a non-empty X-Skep-Client header (the web app sends web). Without it the request gets 403 csrf.
Roles and scopes
Section titled “Roles and scopes”Roles go viewer, editor, admin. Each role includes the one before it.
| Scope | Who holds it |
|---|---|
sampling:boost |
Editors and admins |
sampling:enforce |
Admins |
registry:promote |
Admins |
fleet:deploy |
Admins |
On the Plus plan an admin can grant these scopes to individual members (see Accounts and members). A refusal is 403 forbidden with a message that names the missing permission when Skep knows it.
What every response carries
Section titled “What every response carries”as_of: an RFC 3339 timestamp on every response object.- Labeled counts. A count that may be an estimate carries
estimated(true or false) andsource:pre_sampling_observer,post_sampling_observer,stamped_rates,unknown_position_observer,backend_queryornot_observed(readiness may also saysampler_stats). Show estimates as estimates. - Money is a range:
{low, high, currency, per}whereperismonth,dayorboost. - Durations are Go duration strings such as
"1h0m0s". - Freshness. Responses about observed data (workspace, services, one service, findings, readiness) also carry
freshness(status:current,lagging,staleorno_data, pluslatest_observation_atandbehind_seconds) andcomplete(is_complete,missing_batches,dropped_observationsover the last hour).currentmeans the data is at most 120 seconds behind.
Agents and approvals
Section titled “Agents and approvals”When an agent (a service account key, or the assistant acting for a person) does something your organization reserves for a person, the request answers 202 with:
{ "status": "pending_approval", "approval_id": "apr_...", "message": "..." }The action waits in GET /v1/approvals until a person approves or rejects it. People signed in to the app apply directly. Deploying a fleet revision and promoting a registry snapshot always wait for a person when an agent asks. See Agents and approvals.
Errors
Section titled “Errors”Errors use a 4xx or 5xx status and this body:
{ "error": "what failed and what to do", "code": "stable_code" }Match on code, not on the message. Some errors add fields, such as errors on an invalid policy.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request |
The request is invalid. error says why |
| 400 | invalid_policy, invalid_intent |
A policy or sampling intent did not validate. errors lists each problem with its path |
| 401 | unauthenticated |
Missing or invalid credential |
| 401 | invalid_credentials |
Wrong email or password at sign-in |
| 402 | remediations_paused |
The month’s remediation allowance or your spend cap is used up. Observation and advice continue. See Plans and limits |
| 403 | forbidden |
The credential lacks the permission. The message says which when known |
| 403 | csrf |
A cookie request without the X-Skep-Client header |
| 403 | tier_required |
The feature needs a higher plan, for example “Manage mode sampling requires the Plus plan (this organization is on Free)” |
| 403 | sso_required |
Your organization requires single sign-on |
| 404 | not_found |
The resource does not exist |
| 404 | not_implemented |
No such route under /v1/. Use it to tell a missing endpoint from a missing resource |
| 409 | various | A conflict, such as last_admin, sampler_stressed or assistant_busy |
| 429 | rate_limited |
Too many requests. Wait for Retry-After seconds |
| 502 | delivery_failed, github_error, git_error, assistant_upstream |
An outside system refused or failed |
| 503 | unavailable, assistant_disabled |
A dependency is not available on this server |
Rate limits
Section titled “Rate limits”Requests with API keys are limited per organization: 600 a minute on the Free plan and 6000 a minute on Plus. Over the limit, the request answers 429 rate_limited with Retry-After: 10. Sign-in and signup are throttled per client and answer 429 with Retry-After: 60.
Pagination
Section titled “Pagination”Lists return {as_of, items: [...], next_cursor?} unless a row names another key. Pass limit and, for the next page, cursor set to the next_cursor you got. No next_cursor means the last page. The audit log pages with before and next_before instead.
Common parameters
Section titled “Common parameters”- A service
{id}in a path acceptssvc_...,namespace/name(encode the/as%2F),svc:namespace/nameor a bare name. environmenttakes an environment name or ID.windowtakes30m,1h,24hor7d.
Endpoints
Section titled “Endpoints”“(editor)” and “(admin)” name the least role a route needs. “Human only” means API keys and the assistant get 403.
Accounts and members
Section titled “Accounts and members”| Method and path | What it does | Key fields |
|---|---|---|
POST /v1/auth/signup |
Creates an account and an organization on the Free plan, and signs in | Body {email, password (10 or more characters), name, organization}. 201 {user_id, org_id, expires_at} |
POST /v1/auth/login |
Signs in with a password | Body {email, password}. 401 invalid_credentials, 429 when throttled, 403 sso_required |
POST /v1/auth/logout |
Signs out | 204 |
GET /v1/auth/me |
Who is calling | user, organization: {org_id, org_name, tier, role}, organizations, scopes, auth_method. An API key gets principal instead |
POST /v1/auth/switch-org |
Switches the session to another organization you belong to | Body {org_id}. 204 |
GET /v1/auth/invitations/{token} |
Reads an invitation | {org_name, email, role, invited_by, has_account} |
POST /v1/auth/invitations/{token}/accept |
Accepts it and signs in | Body {name, password} |
GET /v1/members |
Members of the organization | Items {id, email, name, role, joined_at, last_login_at, grants, sso} |
PATCH /v1/members/{user_id} (admin) |
Changes a role | Body {role}. 409 last_admin |
DELETE /v1/members/{user_id} (admin) |
Removes a member | 204 |
POST /v1/members/{user_id}/grants (admin, human only, Plus) |
Grants one scope | Body {scope}: sampling:boost, sampling:enforce, registry:promote or fleet:deploy |
DELETE /v1/members/{user_id}/grants/{scope} (admin, human only) |
Removes a grant | 204 |
GET /v1/invitations (admin) |
Open invitations | Items {id, email, role, invited_by, created_at, expires_at} |
POST /v1/invitations (admin) |
Invites someone | Body {email, role}. Returns accept_path (/invite/<token>) to copy. Skep sends no email |
DELETE /v1/invitations/{id} (admin) |
Withdraws an invitation | 204 |
PATCH /v1/organization (admin) |
Renames the organization | Body {name} |
API keys and audit
Section titled “API keys and audit”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/api-keys (admin) |
Lists keys | Items {id, name, kind, scopes, description, created_by, created_at, last_used_at, revoked_at} |
POST /v1/api-keys (admin, human only) |
Creates a key | Body {name, kind, scopes, description}. 201 with key, shown only once. Collector keys always get exactly [collector] |
DELETE /v1/api-keys/{id} (admin) |
Revokes a key | 204 |
GET /v1/audit |
The audit log, newest first | Query action (prefix), subject_type, subject_id, agents_only=true, before, since, limit (default 100, at most 500). Items {id, at, actor, action, subject_type, subject_id, details}. next_before is 0 on the last page |
GET /v1/audit/export (admin, Plus) |
Exports the audit log | Query since, until (RFC 3339 or a window such as 7d). NDJSON, oldest first. The export is itself audited |
An actor is {kind, user_id?, email?, key_id?, key_name?, key_owner?, on_behalf_of?, agent}. kind is user, service_account, assistant, collector, collector_token or system.
Inventory
Section titled “Inventory”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/workspace |
Orientation for the organization | organization: {id, name, tier}, environments with counts, totals: {services, shapes, entities, edges, collectors}, production_services_30d |
GET /v1/environments |
Environments | Items {id, name, is_production, created_at} |
POST /v1/environments (editor) |
Creates or updates one | Body {name, is_production} |
GET /v1/services |
Observed services | Query environment, position, production, q, limit, cursor. Items: id, ref, namespace, name, environment, owner, latest_version, languages, positions_observed, shape_count, dependency_count, open_findings, traffic {pre_sampling, post_sampling}, health, and over_plan when the service is above the Free allowance |
GET /v1/services/{id} |
One service | The list fields plus versions, dependencies, runs_on, latency_1h (per route: count, error rate, p50, p95, p99), shapes_by_signal, contract, health, and kubernetes or pagerduty when those integrations are set up |
GET /v1/services/{id}/schema (also /shapes) |
Spans, metrics and log events with their attributes | Query signal, position, name, window, limit. Each attribute: key, type, presence, cardinality_estimate, policy_class, and top_values only for attributes whose values may leave your environment |
GET /v1/services/{id}/attributes |
Attribute keys for a service | Items {key, types, shapes, max_cardinality_estimate, policy_class} |
GET /v1/services/{id}/dependencies |
Dependency edges | Query direction (outbound, inbound, both), window. List key dependencies. Each has type, entity, confidence, provenance, traffic |
GET /v1/services/{id}/versions |
Versions seen | List key versions: {version, first_seen, last_seen, items_1h} |
GET /v1/services/{id}/changes |
What changed in a window | new_versions, new_shapes, new_dependencies |
GET /v1/services/{id}/contract |
The contract a service is measured against | rung, source, status, sources, baseline |
GET /v1/services/{id}/drift |
Declared versus observed differences | contract and the differences |
GET /v1/attributes/{key} |
One attribute key across services | Per service: type, presence, cardinality_estimate, policy_class |
GET /v1/entities/{id-or-ref} (also /neighbors) |
An entity and its edges | {id, ref, type, environment, identity, neighbors} |
| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/graph |
The dependency graph | Query environment, focus, depth (1 to 3), direction, limit (default 300, at most 1000). Without focus, an environment larger than limit answers too_large: true with no nodes: use the overview. Nodes carry hidden_neighbors |
GET /v1/graph/overview |
Services grouped by namespace or team | Query group_by=namespace or owner. groups and the edges between them. Tens of nodes at any size |
GET /v1/graph/groups/{group} |
One group’s members | Neighbors outside the group are collapsed into group nodes |
GET /v1/graph/search |
Finds entities | Query q. Items are entities |
Collectors
Section titled “Collectors”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/collectors |
Collectors, by name | Query environment, fleet, state (active by default, all, online, disconnected, stale or retired), q (part of the name or instance id), limit (default 100), cursor. Items: id, name, environment, distro (skep or byo), version, positions, health, queue, status (online, disconnected, stale, retired), retired_at, snapshot_stale, fleet_id, managed, remote_config_status; the page also has counts by state |
GET /v1/collectors/{id} |
One collector | Same fields |
GET /v1/collectors/install (viewer) |
An install guide for a new collector | Query environment, platform (docker, kubernetes, linux, byo), profile (gateway, agent), backend (honeycomb, otlp, file, none, or gateway for agents), otlp_endpoint, sampling (none, tail_sampling), fleet, tier, upstream, system_logs, managed, self_telemetry_otlp. Returns distro, env, files, steps and verify. Files never contain secrets. Invalid combinations answer 400 |
Fleets
Section titled “Fleets”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/fleets |
Fleets in an environment | Items: id, name, environment, tier (edge or gateway), management (opamp or manual), upstream_fleet_id, profile, collectors {total, online, disconnected, stale, snapshot_stale}, throughput, rules, revision, config_source |
POST /v1/fleets (admin) |
Creates a fleet | Body {environment, name, tier, management, upstream_fleet_id?, description?, profile?}. With a profile, revision 1 is rendered |
GET /v1/fleets/{id} |
One fleet | Adds collectors_list, rules_list, revisions and drift (how many managed collectors run the desired configuration) |
PATCH /v1/fleets/{id} (admin) |
Changes a fleet | Any of {name, tier, management, upstream_fleet_id, description, profile} |
GET /v1/fleets/topology |
How telemetry flows in an environment | fleets, links (sends, forwards, exports, each verified or not), backends, unassigned |
GET /v1/fleets/{id}/rules |
Pipeline rules | Items: id, name, kind, processor, signal, context, statements (OTTL), status (proposed, active, disabled), source |
POST /v1/fleets/{id}/rules (editor) |
Proposes a rule | Body {name, kind, signal, context, statements, description}. 201 with status proposed |
PATCH /v1/fleets/{id}/rules/{rule} (editor) |
Edits or disables a rule | Any of {name, description, statements, status}. Only a deployment makes a rule active |
GET /v1/fleets/{id}/revisions |
Revisions, newest first | |
POST /v1/fleets/{id}/revisions (editor) |
Renders a draft revision | 201 Revision with status draft, or the existing one when nothing changed |
GET /v1/fleets/{id}/revisions/{rev} |
One revision | config_yaml, config_hash, validation {ok, errors, validator}, diff, rollout {target, applied, applying, failed}, status |
POST /v1/fleets/{id}/revisions/{rev}/deploy (fleet:deploy) |
Deploys a revision | Body {reason}. People: 200 {status: deploying or awaiting_manual_apply}. Agents: always 202 pending_approval. A fleet whose configuration lives in Git opens a pull request instead (in_review). An observed fleet answers 409 |
POST /v1/fleets/{id}/revisions/{rev}/confirm (fleet:deploy) |
Confirms a manual fleet applied it | Becomes deployed |
POST /v1/fleets/{id}/revisions/{rev}/rollback |
Redeploys an earlier revision | Body {reason}. Same approval rules as deploy |
Configuration sources
Section titled “Configuration sources”Where a fleet’s collector configuration, or an environment’s sampler configuration, comes from. mode is skep (Skep renders and deploys it), git (a repository file is the source of truth and every change is a pull request) or observed (Skep reads what collectors report and owns nothing). See Config sources.
| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/config-sources |
All sources | Items: mode, provider, repository, ref, path, last_sync_at, last_sync_status, last_commit |
GET /v1/fleets/{id}/config-source |
A fleet’s source | mode, deploy, source, snapshot (the parsed file with checks, validation and drift), history, pull_requests |
PUT /v1/fleets/{id}/config-source (admin, human only) |
Sets the source | Body {mode, integration_id?, repository?, ref?, path?, sync_interval_seconds?}. Syncs once |
POST /v1/fleets/{id}/config-source/sync (editor) |
Reads the source now | 400 in mode skep, 502 git_error when the host fails |
GET /v1/fleets/{id}/config-source/proposal |
The change Skep would make now | current, proposed, diff, rules, fixed, remaining, validation. Nothing is stored |
GET /v1/sampling/config-source |
The sampler’s source for an environment | Same shape as a fleet’s |
POST /v1/sampling/config-source/sync (editor) |
Reads the sampler’s file now | |
GET /v1/config-pull-requests/{id}/patch |
The patch for a read-only repository | text/x-patch, for git am or git apply |
Findings and remediations
Section titled “Findings and remediations”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/findings |
Findings, most severe first | Query environment, service, family, type, status (default OPEN,ACKNOWLEDGED), severity, view (flat default, or grouped), limit, cursor. counts: {by_status, by_family, by_severity, folded} |
GET /v1/findings/rollup |
Counts of one severity by type and service | Query severity (default info) and the same filters. At most 20 services per type and 10 finding IDs per service |
GET /v1/findings/{id} |
One finding | Adds events, remediations and group with its members |
POST /v1/findings/{id}/acknowledge, /resolve, /suppress, /exception (editor) |
Changes its status | Body {note} |
GET /v1/findings/{id}/remediations |
Fixes for a finding | Items: id, kind, title, description, payload, applied_at, applied_by, result, requires_approval |
POST /v1/remediations/{id}/apply (editor) |
Applies a fix | 200 {status: applied}, or 202 pending_approval for an agent that needs a person. 402 remediations_paused when paused |
A finding has id, type, family, severity, status, title, summary, service, environment, subject, owner, rung, evidence, impact {cost, questions}, first_seen, last_seen and, when it shares a cause with others, group (primary_fix, member_count, service_count). Remediation kinds: instrumentation_change, collector_config_patch, sampler_rule, pipeline_rule, recipe, policy_exception, registry_diff, runbook, collector_decommission. See Findings and recommendations.
Remediation pull requests
Section titled “Remediation pull requests”These need a GitHub integration (Plus plan).
| Method and path | What it does | Key fields |
|---|---|---|
POST /v1/remediations/{id}/pull-request (editor) |
Commits the fix to branch skep/<remediation id> and opens a pull request |
Body {integration_id?, repository?, base?, reason?}. 201 status: opened, 200 status: exists, or 202 pending_approval when your organization requires approval. 402 remediations_paused when paused |
GET /v1/findings/{id}/pull-requests |
Pull requests for a finding | Items: repository, number, url, status, verification (pending, verified, not_verified) |
After a merge, Skep checks telemetry from the new version and comments its verdict on the pull request once.
Recipes
Section titled “Recipes”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/recipes |
The recipe bank | Items: id, version, title, outcome, category, signals, risk, params, verify, matches, autopilot, disabled |
GET /v1/recipes/recommendations |
Recipes that match what Skep sees | Query environment. Per recipe, matches with finding_id, remediation_id, service, environment, params, rules, effect, target_fleets |
POST /v1/recipes/preview |
Renders a match with your parameters | Body {finding_id, params?}. Returns rules, effect (the shape preview) and stages. Invalid parameters answer 200 with error |
GET /v1/recipes/settings |
Autopilot and disabled recipes | autopilot: {low, medium, high} each propose, auto_nonprod or auto |
PUT /v1/recipes/settings (admin, human only) |
Sets them | Body {autopilot, disabled}. Any mode other than propose needs the Plus plan |
GET /v1/recipe-applications |
Rollouts | Query status. Items: id, recipe_id, status (planned, rolling_out, paused, completed, failed, rolled_back), stages, workflow |
POST /v1/recipe-applications (editor) |
Plans a rollout and starts its first stage | Body {finding_id, params?, environments?, start?}. 402 remediations_paused when paused |
GET /v1/recipe-applications/{id} |
One rollout | Each stage: environment, production, status, gate {checks}, revisions, approval_ids |
POST /v1/recipe-applications/{id}/stages/{seq}/start (editor) |
Starts or retries a stage | 409 until earlier stages passed |
POST /v1/recipe-applications/{id}/stages/{seq}/rollback (editor) |
Disables the rollout’s rules in that stage and deploys the result | Deploy rules apply |
POST /v1/recipe-applications/{id}/pause (editor) |
Stops a rollout from advancing | Nothing deployed changes |
| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/cost |
Estimated monthly spend | Query group_by (service, team, signal, shape, attribute), environment, service. total, items {key, label, low, high, events_per_month, gb_per_month, share}, rate_card, assumptions |
GET /v1/cost/forecast |
Daily spend and the month’s projection | daily, projected_month, trend |
GET /v1/rate-cards |
Your rate cards and the templates | items, templates, active |
PUT /v1/rate-cards (admin) |
Creates or updates a rate card | Body: a rate card. active: true makes it the one estimates use |
GET /v1/value-report |
What Skep’s remediations saved against what Skep cost | Query month (2026-10, default this month). summary, realized, run_rate, cost, roi, top, by_team, by_service. Every amount is an estimate |
Readiness and questions
Section titled “Readiness and questions”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/readiness |
Readiness of every service, lowest first | Query environment, q, limit (default 100, at most 500), cursor. Items: service, agent_score, human_score, blocked, source, headroom_factor, money_saved |
GET /v1/services/{id}/readiness |
Which questions the kept data can answer | agent_readiness, human_readiness, pre_sampling, questions (each with status, why, and the finding and fix), headroom, money_saved_by_current_sampling |
GET /v1/services/{id}/readiness/{question} |
One question in depth | Every requirement with measured value and threshold |
GET /v1/services/{id}/readiness/history |
Readiness over time | Query window. points |
GET /v1/services/{id}/sampling-impact |
What sampling costs in answers and saves in money | questions_lost_to_sampling, money_saved, headroom, findings |
GET /v1/question-catalog |
The questions readiness is measured against | yaml, source (built_in or organization), questions |
PUT /v1/question-catalog (admin, Plus) |
Replaces the catalog | Body {yaml} or raw YAML |
See Readiness and health.
Telemetry health
Section titled “Telemetry health”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/services/{id}/health |
Instrumentation health of one service | Query environment, window (default 24h). composite, status (good, fair, poor, not_applicable, no_data), dimensions (each with score, why, lowered_by, findings), trend |
GET /v1/telemetry-health |
The organization rollup | by_status, dimensions (mean per dimension), lowest (10 services), trend_30d |
Policy
Section titled “Policy”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/policies/organization |
Your telemetry policy | version, yaml, status (active or none), compiled, errors, example |
PUT /v1/policies/organization (admin) |
Replaces it | Body {yaml} or raw YAML. Invalid: 400 invalid_policy with errors, and the previous policy stays active |
POST /v1/policies/organization/validate |
Checks a policy without saving it | {valid, errors, compiled} |
Sampling
Section titled “Sampling”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/sampling/intents |
The environment’s sampling intent and target | Query environment. intent {yaml, mode (advise or manage), target (refinery or otel_tail_sampling)}, target {delivery, config, fleet_ids}, sampler {stressed, stats} |
PUT /v1/sampling/intents/{environment} (editor) |
Saves an intent | Body {yaml, mode}. mode: manage needs the Plus plan |
PUT /v1/sampling/targets/{environment} (admin, human only) |
Sets how configuration reaches the sampler | delivery: none, webhook, fleet, rules_url or git. 400 invalid_intent lists every problem |
POST /v1/sampling/targets/{environment}/token (admin, human only) |
Issues a Refinery rules URL token | Shown only in this response |
DELETE /v1/sampling/targets/{environment}/token (admin, human only) |
Revokes it | |
GET /v1/sampling/refinery/{env_id}/rules.toml |
Refinery’s rules file | Authenticated by the delivery token in X-Honeycomb-Team or Authorization: Bearer. Supports ETag and If-None-Match |
POST /v1/sampling/simulate |
Projects an intent without applying it | Body {yaml, environment}. buckets, spend, current_spend, readiness before and after, blind_spots, rejected_keys, fidelity |
POST /v1/sampling/compile |
Compiles the active intent into a snapshot | Query environment, target |
POST /v1/sampling/intents/{id}/compile |
Compiles one intent version | Query target |
GET /v1/sampling/snapshots |
Snapshots, newest first (50) | Without the large fields |
GET /v1/sampling/snapshots/{id} |
One snapshot | compiled_config, fidelity, projection, diff, status, delivery, revisions |
POST /v1/sampling/snapshots/{id}/apply (sampling:enforce for people) |
Applies a snapshot | Body {reason?}. 200 applied or applying, 202 pending_approval for agents, 502 delivery_failed, 409 sampler_stressed while the sampler is under stress |
POST /v1/sampling/snapshots/{id}/rollback (sampling:enforce, human) |
Restores the configuration from before | A new snapshot of kind rollback |
POST /v1/sampling/boosts (sampling:boost) |
Keeps more traces for a scope for a while | Body {environment, scope {service, route?, status_class?, attribute?, equals?}, duration, rate?, multiplier?, cap_traces?, reason}. 201, or 202 when a person must approve. Returns estimated_cost |
GET /v1/sampling/boosts |
Boosts | Query environment, status |
DELETE /v1/sampling/boosts/{id} |
Cancels a boost | Returns it with status: cancelled |
GET /v1/sampling/keys/suggest |
Low-cardinality sampling keys for a service | Query service, environment |
See Sampling advisor.
Approvals and agent settings
Section titled “Approvals and agent settings”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/approvals |
Approvals | Query status=pending. items, pending (the count). Kinds: sampling_boost, sampling_apply, remediation_apply, fleet_deploy, registry_promote, github_pull_request, config_pull_request |
GET /v1/approvals/{id} |
One approval | summary, reason, payload, requested_by, status, decided_by, note, result |
POST /v1/approvals/{id}/approve, /reject (editor, human only) |
Decides | Body {note}. Only people decide approvals |
GET /v1/settings |
What agents may do without a person | agent_actions {sampling_boost, sampling_apply, remediation_apply, pull_request}, boost_caps {max_duration, max_concurrent} |
PUT /v1/settings (admin, human only) |
Changes it | Body exactly {agent_actions, boost_caps} |
Registries
Section titled “Registries”Weaver semantic convention registries, the strictest contract. Plus plan.
| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/registries |
Registries | weaver {pinned, available}, items with source_type (upload, git, generated), promoted, latest, assignments |
POST /v1/registries (editor) |
Creates one | Body {name, description?, source_type, git?: {url, ref?, path?, integration_id?}} |
GET /v1/registries/{id-or-name} |
One registry and its snapshots | |
DELETE /v1/registries/{id-or-name} (admin) |
Deletes it with its snapshots | 204 |
POST /v1/registries/{id}/snapshots (editor) |
Uploads a version | JSON {files: {path: yaml}, commit?}, a .tar.gz or .zip body, or multipart field archive. Identical content returns the existing snapshot |
POST /v1/registries/{id}/sync (editor) |
Snapshots a Git registry at ref |
|
GET /v1/registries/{id}/snapshots/{snap} |
One snapshot | Query model=true, files=true. status, check, diff (classified changes with breaking), stats |
POST /v1/registries/{id}/snapshots/{snap}/promote (registry:promote) |
Makes it the contract | Body {reason}. Agents always get 202 pending_approval |
POST /v1/registries/{id}/assignments (editor) |
Assigns it to services | Body {environment?, selector {namespaces?, services?}, mode? (advisory or enforce)} |
DELETE /v1/registries/{id}/assignments/{aid} (editor) |
Removes an assignment | 204 |
POST /v1/registries/generate |
Builds a candidate registry from the last 7 days | Body {environment?, selector?, name?, save?} |
POST /v1/registries/check |
Checks a proposed registry without storing it | Same bodies as upload. conclusion, diff, impact |
GET /v1/remediations/{id}/registry-diff |
The registry files a registry_diff fix would change |
edit, files, check |
When the server has no Weaver binary, snapshot creation answers 503 unavailable.
Integrations
Section titled “Integrations”Only human admins create, change, sync or delete integrations. Secrets are write only: responses say has_secret and never return the secret.
| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/integrations |
Integrations | Query kind. Items: id, kind, name, env_id, config, has_secret, status (active, disabled, error), last_sync_at, last_error, sync_stats |
POST /v1/integrations (admin, human only) |
Creates one | Body {kind, name, environment?, config, secret}. Unknown config keys answer 400 |
GET /v1/integrations/{id} |
One integration | |
PATCH /v1/integrations/{id} (admin, human only) |
Changes it | Any of {name, config, secret, status} |
DELETE /v1/integrations/{id} (admin, human only) |
Deletes it | 204 |
POST /v1/integrations/{id}/sync (admin, human only) |
Syncs now | |
GET /v1/integrations/{id}/github |
GitHub status | auth, webhook_configured, recent pull_requests and checks |
POST /v1/integrations/{id}/github/webhook-secret (admin, human only) |
Sets the GitHub webhook secret | Body {secret?} (16 or more characters, or omit to generate). Shown only once |
POST /v1/integrations/{id}/gitlab/webhook-secret (admin, human only) |
Sets the GitLab webhook secret | Same |
POST /v1/integrations/github/webhook |
GitHub delivers events here | Authenticated by X-Hub-Signature-256 |
POST /v1/integrations/gitlab/webhook |
GitLab delivers events here | Authenticated by X-Gitlab-Token |
| Kind | Plan | Scope | Secret |
|---|---|---|---|
kubernetes |
Every plan | One environment | A read-only service account token |
pagerduty |
Every plan | Organization | A REST API key (read only is enough) |
honeycomb |
Every plan | One environment | A configuration API key that can run queries |
github |
Plus | Organization | A fine-grained access token, or empty with installation_id for the Skep GitHub App |
gitlab |
Plus | Organization | An access token |
git |
Plus | Organization | An HTTPS token or an SSH deploy key (read only) |
oidc |
Plus | Organization | The OIDC client secret |
Setup steps: Connect GitHub or GitLab, Honeycomb, Kubernetes and PagerDuty and Single sign-on.
Single sign-on
Section titled “Single sign-on”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/auth/sso/discover |
Whether an email’s domain signs in with SSO | Query email. No authentication. {sso, required, start_path?} |
GET /v1/auth/sso/start |
Redirects to your identity provider | Query org (ID or slug) or email, optional return_to |
GET /v1/auth/sso/callback |
The redirect URI to register with your identity provider | Failures redirect to /login?sso_error=<code> |
Onboarding
Section titled “Onboarding”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/onboarding |
The Guide’s steps, from real state | show_on_login, completed, total, steps (each id, title, why, status (done or todo), cta, agent {prompt, tools}) |
PUT /v1/onboarding (people only) |
Dismisses the Guide or records a visit | Body {dismissed?, visited?} |
Assistant
Section titled “Assistant”For people signed in to the app. API keys get 403.
| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/assistant/status |
Whether the assistant is on | {enabled, model?, reason?} |
POST /v1/assistant/chat |
Sends a message | Body {conversation_id?, message, context?: {service?, finding?}}. A Server-Sent Events stream of text, tool_use, tool_result, done and error events. 409 assistant_busy while a reply is running |
GET /v1/assistant/conversations |
Your conversations | Private to you |
GET /v1/assistant/conversations/{id} |
One conversation | entries |
DELETE /v1/assistant/conversations/{id} |
Deletes it | 204 |
Plan, usage and billing
Section titled “Plan, usage and billing”| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/usage |
Plan meters and caps | tier, production_services, collectors, caps, over_cap, over_plan_services, features, daily |
GET /v1/billing |
Plan, the month’s bill, and whether remediations are paused | plan, month, bill {lines, total, spend_cap, cap_reached}, pause {paused, reason, resumes}, trial, upgrade, notes |
PUT /v1/billing/spend-cap (admin, human only) |
Sets the monthly spend cap in dollars | Body {spend_cap}, or null for no cap |
POST /v1/billing/checkout (admin, human only) |
Starts an upgrade to Plus | {url} to open |
POST /v1/billing/portal (admin, human only) |
Opens the billing portal (payment method, invoices, cancel) | {url} |
GET /v1/billing/prices |
The public price list | No authentication |
See Plans and limits.
Workflows and scheduled jobs
Section titled “Workflows and scheduled jobs”Long-running work (recipe rollouts, approvals, sampler deliveries, pull requests) runs as durable workflows. These routes are read only.
| Method and path | What it does | Key fields |
|---|---|---|
GET /v1/workflows |
Workflow runs, newest first | Query type, status, subject_kind, subject, limit (default 50, at most 200), cursor. Each run: status, step, waiting_for, next_check_at |
GET /v1/workflows/{id} |
One run with its history | history (oldest first, the last 500 events), pending_signals |
GET /v1/scheduled-jobs (admin) |
Your organization’s periodic jobs | job, interval_seconds, next_run_at, last_status, consecutive_failures |
Collector endpoints
Section titled “Collector endpoints”skepcontrol calls these for you. You do not need them unless you build your own client.
| Method and path | What it does |
|---|---|
POST /v1/collectors/register |
Registers a collector with a collector key |
POST /v1/observations/batch |
Uploads an observation batch. Answers 202. When Skep cannot take the batch it answers 429 (log_unavailable or backpressure) or 503 with Retry-After, and the collector retries the same batch |
GET /v1/collectors/{id}/snapshot |
Fetches the policy snapshot the observers use |
POST /v1/collectors/{id}/heartbeat |
Reports health |
GET /v1/opamp |
OpAMP for collectors under the supervisor, with a collector key |
Tracing your calls
Section titled “Tracing your calls”Every API request may carry a W3C traceparent header, and skepd continues that trace.