Skip to main content

Making requests

Base URL and versioning

All public endpoints live under /v1/:

https://<WISELOOK_HOST>/v1/{resource}

The version is at the path root. A breaking change to a resource's contract ships under /v2/; additive changes (new optional fields, new endpoints) stay on /v1/.

Resources

ResourceServiceExample
/v1/methodologiesCatalogList / read methodologies
/v1/competenciesCatalogList competencies
/v1/ecos/{id}CatalogRead an ECO + its questions
/v1/evaluationsAssessmentCreate / read assessment runs
/v1/chat/messagesAI ServiceStream a Claire turn (SSE)
/v1/transcripts/{id}AI ServiceRead a completed transcript
/v1/widgets/{id}TenancyWidget bootstrap
/v1/widgets/{id}/sessionsTenancyMint a visitor JWT

The API Reference has the full request/response shape for every endpoint.

Error responses

Every error has the same shape:

{
"code": "snake_case_machine_readable",
"detail": "Human-readable explanation.",
"extra": { "any": "structured context" }
}

Branch on code — it's stable across versions. detail is for humans and may change wording. extra carries optional structured context (failing field, conflicting key, current state).

Common codes:

HTTPcodeMeaning
401http_401Missing or invalid bearer token.
403invalid_scopeToken lacks the scope this endpoint requires.
404http_404Resource not found (or not visible to your scope).
422http_422Request body failed validation.

Idempotency

Write endpoints accept an Idempotency-Key header. Reusing the same key with the same body returns the original result instead of creating a duplicate.