{"openapi":"3.1.0","info":{"title":"voca9 API","version":"1.0.0","description":"Permissions: tasks:read, tasks:create, tasks:update, tasks:delete, tasks:bulk, tasks:assign, projects:read, projects:create, projects:update, projects:delete, sections:read, sections:create, sections:update, sections:delete, labels:read, labels:create, labels:update, labels:delete, comments:read, comments:create, comments:update, comments:delete, attachments:read, attachments:create, attachments:delete, goals:read, goals:create, goals:update, goals:delete, members:read, activity:read, search:read, vaults:read, secrets:read, secrets:write, secrets:delete, webhooks:manage"},"servers":[{"url":"https://api.voca9.com"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"An API key (v9_live_…, v9_test_…) or an OAuth access token (v9o_at_…)"}}},"paths":{"/api/v1/me":{"get":{"summary":"The credential: its name, permissions and projects","x-permissions":[],"security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/projects":{"get":{"summary":"List projects (cursor-paged)","x-permissions":["projects:read"],"security":[{"bearer":["projects:read"]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"post":{"summary":"Create a project","x-permissions":["projects:create"],"security":[{"bearer":["projects:create"]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/projects/{id}":{"get":{"summary":"Get a project","x-permissions":["projects:read"],"security":[{"bearer":["projects:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"patch":{"summary":"Change or archive a project","x-permissions":["projects:update"],"security":[{"bearer":["projects:update"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"delete":{"summary":"Move a project and its tasks to Trash","x-permissions":["projects:delete"],"security":[{"bearer":["projects:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/projects/{id}/restore":{"post":{"summary":"Bring a project back from Trash","x-permissions":["projects:delete"],"security":[{"bearer":["projects:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/projects/{id}/sections":{"get":{"summary":"List a project’s sections","x-permissions":["sections:read"],"security":[{"bearer":["sections:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/sections":{"post":{"summary":"Create a section","x-permissions":["sections:create"],"security":[{"bearer":["sections:create"]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/sections/{id}":{"patch":{"summary":"Rename or reorder a section","x-permissions":["sections:update"],"security":[{"bearer":["sections:update"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"delete":{"summary":"Remove a section (its tasks stay)","x-permissions":["sections:delete"],"security":[{"bearer":["sections:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/labels":{"get":{"summary":"List labels (cursor-paged)","x-permissions":["labels:read"],"security":[{"bearer":["labels:read"]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"post":{"summary":"Create a label","x-permissions":["labels:create"],"security":[{"bearer":["labels:create"]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/labels/{id}":{"patch":{"summary":"Rename or recolour a label","x-permissions":["labels:update"],"security":[{"bearer":["labels:update"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"delete":{"summary":"Delete a label","x-permissions":["labels:delete"],"security":[{"bearer":["labels:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks":{"get":{"summary":"List tasks (cursor-paged)","x-permissions":["tasks:read"],"security":[{"bearer":["tasks:read"]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"post":{"summary":"Create a task","x-permissions":["tasks:create"],"security":[{"bearer":["tasks:create"]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/{id}":{"get":{"summary":"Get a task","x-permissions":["tasks:read"],"security":[{"bearer":["tasks:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"patch":{"summary":"Change a task","x-permissions":["tasks:update"],"security":[{"bearer":["tasks:update"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"delete":{"summary":"Move a task to Trash","x-permissions":["tasks:delete"],"security":[{"bearer":["tasks:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/{id}/complete":{"post":{"summary":"Complete a task","x-permissions":["tasks:update"],"security":[{"bearer":["tasks:update"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/{id}/reopen":{"post":{"summary":"Reopen a completed task","x-permissions":["tasks:update"],"security":[{"bearer":["tasks:update"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/{id}/restore":{"post":{"summary":"Bring a task back from Trash","x-permissions":["tasks:delete"],"security":[{"bearer":["tasks:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/bulk":{"post":{"summary":"Complete, reopen, move, reschedule or trash up to 100 tasks at once","x-permissions":["tasks:bulk"],"security":[{"bearer":["tasks:bulk"]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/{id}/comments":{"get":{"summary":"List a task’s comments","x-permissions":["comments:read"],"security":[{"bearer":["comments:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"post":{"summary":"Comment on a task","x-permissions":["comments:create"],"security":[{"bearer":["comments:create"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/comments/{id}":{"patch":{"summary":"Edit a comment (its author only)","x-permissions":["comments:update"],"security":[{"bearer":["comments:update"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"delete":{"summary":"Delete a comment (its author only)","x-permissions":["comments:delete"],"security":[{"bearer":["comments:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/{id}/activity":{"get":{"summary":"A task’s history","x-permissions":["activity:read"],"security":[{"bearer":["activity:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/{id}/attachments":{"get":{"summary":"List a task’s files, each with a download link valid for an hour","x-permissions":["attachments:read"],"security":[{"bearer":["attachments:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/tasks/{id}/attachments/{attachmentId}":{"put":{"summary":"Add a file to a task (the body is the file, up to 25 MB; query name)","x-permissions":["attachments:create"],"security":[{"bearer":["attachments:create"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"attachmentId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/attachments/{id}":{"delete":{"summary":"Move a file to Trash","x-permissions":["attachments:delete"],"security":[{"bearer":["attachments:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/attachments/{id}/restore":{"post":{"summary":"Bring a file back from Trash","x-permissions":["attachments:delete"],"security":[{"bearer":["attachments:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/goals":{"get":{"summary":"List goals (cursor-paged)","x-permissions":["goals:read"],"security":[{"bearer":["goals:read"]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"post":{"summary":"Create a goal","x-permissions":["goals:create"],"security":[{"bearer":["goals:create"]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/goals/{id}":{"patch":{"summary":"Change a goal","x-permissions":["goals:update"],"security":[{"bearer":["goals:update"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"delete":{"summary":"Delete a goal","x-permissions":["goals:delete"],"security":[{"bearer":["goals:delete"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/members":{"get":{"summary":"People in the space","x-permissions":["members:read"],"security":[{"bearer":["members:read"]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/search":{"get":{"summary":"Search tasks and projects","x-permissions":["search:read"],"security":[{"bearer":["search:read"]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/vaults":{"get":{"summary":"List the vaults this key may read","x-permissions":["vaults:read"],"security":[{"bearer":["vaults:read"]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/vaults/{projectId}/secrets":{"get":{"summary":"Read a vault’s secrets","x-permissions":["secrets:read"],"security":[{"bearer":["secrets:read"]}],"parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/vaults/{projectId}/secrets/{id}":{"get":{"summary":"Read one secret","x-permissions":["secrets:read"],"security":[{"bearer":["secrets:read"]}],"parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"put":{"summary":"Add or replace a secret (you choose the id)","x-permissions":["secrets:write"],"security":[{"bearer":["secrets:write"]}],"parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"delete":{"summary":"Move a secret to Trash","x-permissions":["secrets:delete"],"security":[{"bearer":["secrets:delete"]}],"parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/events":{"get":{"summary":"The change feed after a cursor","x-permissions":[],"security":[{"bearer":[]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/webhooks":{"get":{"summary":"List webhook subscriptions","x-permissions":["webhooks:manage"],"security":[{"bearer":["webhooks:manage"]}],"parameters":[],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"post":{"summary":"Create a webhook subscription (the secret is shown once)","x-permissions":["webhooks:manage"],"security":[{"bearer":["webhooks:manage"]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/webhooks/{id}":{"patch":{"summary":"Change, enable or disable a subscription","x-permissions":["webhooks:manage"],"security":[{"bearer":["webhooks:manage"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}},"delete":{"summary":"Delete a subscription and its log","x-permissions":["webhooks:manage"],"security":[{"bearer":["webhooks:manage"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/webhooks/{id}/rotate-secret":{"post":{"summary":"A new signing secret (shown once)","x-permissions":["webhooks:manage"],"security":[{"bearer":["webhooks:manage"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/webhooks/{id}/test":{"post":{"summary":"Send a test event","x-permissions":["webhooks:manage"],"security":[{"bearer":["webhooks:manage"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/webhooks/{id}/deliveries":{"get":{"summary":"The delivery log","x-permissions":["webhooks:manage"],"security":[{"bearer":["webhooks:manage"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}},"/api/v1/webhook-deliveries/{id}/retry":{"post":{"summary":"Send a failed delivery again","x-permissions":["webhooks:manage"],"security":[{"bearer":["webhooks:manage"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK"},"401":{"description":"No usable credential (invalid_key, key_revoked, key_disabled, key_expired, token_expired, token_revoked)"},"403":{"description":"permission_missing (the permission is named) or a rule for keys"},"404":{"description":"Not found, or not visible to this credential"},"429":{"description":"rate_limited or auth_blocked; see Retry-After"}}}}}}