Docsloth / developers
Self-hostStart quickstart

docsloth.dev

API reference

84 operations, generated from the published contract. The cloud API mirrors the same envelope and adds commercial endpoints.

Conventions

Base URL
http://localhost:4310 in local mode; api.docsloth.dev for managed tenants
Auth
Authorization: Bearer <session or OIDC token> plus X-Docsloth-Organization: <uuid>
Idempotency
Mutations accept Idempotency-Key (8–128 chars). Same key with a different body is 409.
Concurrency
Updates accept If-Match with the resource ETag; a stale write is 412.
Errors
application/problem+json with type, title, status, detail, code and requestId.
Budgets
429 budget_exhausted is distinct from 422 validation so clients can react correctly.
Events
Job events stream over SSE with monotonic sequence numbers and Last-Event-ID resume.

Operations (84)

Every operation below is registered and contract-tested
MethodPathOperation
GET/healthzhealth
GET/v1/softwarelistSoftware
POST/v1/softwarecreateSoftware
GET/v1/software/{software_id}getSoftware
PATCH/v1/software/{software_id}updateSoftware
DELETE/v1/software/{software_id}deleteSoftware
GET/v1/software/{software_id}/sourceslistSources
POST/v1/software/{software_id}/sourcesattachSource
DELETE/v1/software/{software_id}/sources/{source_id}detachSource
PATCH/v1/software/{software_id}/sources/{source_id}updateSource
POST/v1/software/{software_id}/jobscreateJob
GET/v1/software/{software_id}/jobslistJobs
GET/v1/jobs/{job_id}getJob
GET/v1/jobs/{job_id}/eventsstreamJobEvents
POST/v1/jobs/{job_id}/cancelcancelJob
GET/v1/software/{software_id}/graphgetGraph
GET/v1/software/{software_id}/factslistFacts
GET/v1/evidence/{evidence_id}getEvidence
GET/v1/software/{software_id}/releaseslistReleases
POST/v1/software/{software_id}/releasescreateRelease
GET/v1/software/{software_id}/programslistPrograms
POST/v1/software/{software_id}/programscreateProgram
PUT/v1/programs/{program_id}updateProgram
GET/v1/programs/{program_id}getProgram
DELETE/v1/programs/{program_id}deleteProgram
GET/v1/programs/{program_id}/pageslistPages
POST/v1/programs/{program_id}/pagescreatePage
GET/v1/pages/{page_id}getPage
DELETE/v1/pages/{page_id}deletePage
POST/v1/pages/{page_id}/patchespatchPage
GET/v1/jobs/{job_id}/checksgetChecks
POST/v1/software/{software_id}/publishpublish
GET/v1/software/{software_id}/publicationslistPublications
POST/v1/software/{software_id}/rollbackrollback
GET/v1/publications/{publication_id}/secret-findingsgetPublicationSecretFindings
GET/v1/answers/{answer_id}/secret-findingsgetAnswerSecretFindings
POST/v1/software/{software_id}/secret-findings/acknowledgeacknowledgeSecretFindings
GET/v1/approvalslistApprovals
POST/v1/approvals/{approval_id}/decisiondecideApproval
GET/v1/resourceslistResources
POST/v1/resourcescreateResource
PUT/v1/resources/{resource_id}updateResource
DELETE/v1/resources/{resource_id}deleteResource
POST/v1/resources/{resource_id}/credentialssetCredential
POST/v1/resources/{resource_id}/testtestResource
GET/v1/modelslistModels
POST/v1/modelsbindModel
POST/v1/capabilitiesrequestCapability
POST/v1/executionsexecute
GET/v1/executions/{execution_id}getExecution
POST/v1/executions/{execution_id}/cancelcancelExecution
POST/v1/contextgetContext
POST/v1/chatchat
GET/v1/software/{software_id}/componentslistInstalledComponents
POST/v1/software/{software_id}/componentsinstallComponent
POST/v1/exportscreateExport
POST/v1/importscreateImport
GET/.well-known/docsloth.jsondiscovery
GET/v1/published/{publication_id}/pages/{page_id}getPublishedPage
GET/v1/installationslistSourceInstallations
GET/v1/installations/{installation_id}/repositorieslistSourceCandidates
POST/v1/authorizationsstartAuthorization
POST/v1/authorizations/callbackcompleteAuthorization
GET/v1/webhook-hookslistWebhookHooks
POST/v1/webhook-hookscreateWebhookHook
DELETE/v1/webhook-hooks/{hook_id}revokeWebhookHook
GET/v1/software/{software_id}/environmentslistEnvironments
POST/v1/software/{software_id}/environmentscreateEnvironment
PUT/v1/environments/{environment_id}updateEnvironment
POST/v1/deployment-eventsacceptDeploymentEvent
POST/v1/editor/requestsplanEditorChange
GET/v1/editor/plans/{plan_id}getEditorPlan
POST/v1/forgecreateComponentCandidate
GET/v1/forge/{forge_id}getComponentCandidate
POST/v1/media/uploadsrequestMediaUpload
POST/v1/media/{media_id}/completecompleteMediaUpload
GET/v1/software/{software_id}/medialistMedia
DELETE/v1/media/{media_id}deleteMedia
GET/v1/pages/{page_id}/revisionslistPageRevisions
POST/v1/feedbacksubmitFeedback
POST/v1/sharesshareAnswer
DELETE/v1/shares/{share_id}revokeShare
GET/v1/exports/{export_id}getExport
POST/v1/agents/install-plancreateAgentInstallPlan

Actions

Actions

  • Inspect schema

    Opens the shared JSON Schema document and its download; every request and response model below is defined there.

  • Use sandbox request

    Sandbox requests run against a local engine with your own bootstrap token; this build has no hosted sandbox, so the action navigates to the documented setup.