{"openapi":"3.1.0","info":{"title":"GovDash API","version":"2026-11-17","description":"Connect your systems and agents to the opportunities your team tracks in GovDash."},"paths":{"/v1/agents":{"get":{"tags":["Agents"],"operationId":"agents.listAgents","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"updated_since","in":"query","schema":{"type":"string","description":"Only records updated at or after this time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["created_at","updated_at","name"],"description":"Sort field. Defaults to updated_at."},"required":false},{"name":"status","in":"query","schema":{"type":"string","enum":["enabled","disabled"],"description":"Only agents with this status. Omit to include both enabled and disabled agents."},"required":false},{"name":"query","in":"query","schema":{"type":"string","minLength":1,"description":"Agent name contains this text, ignoring case."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Lists accessible agents owned by the authenticated team, most recently updated first by default. Sub-teams are excluded.","summary":"List agents"},"post":{"tags":["Agents"],"operationId":"agents.createAgent","parameters":[{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"201":{"description":"Agent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Creates an enabled agent owned by the authenticated user on the authenticated team. visibility maps to scope; tool_bundles to enabledGovDashToolBundles; mcp_connectors to enabledMcpConnectorSlugs; skills to enabled skill IDs. Scheduled triggers create Temporal schedules. Use PATCH to disable the agent after creation.","summary":"Create an agent","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentCreate"}}},"required":true}}},"/v1/agents/{id}":{"get":{"tags":["Agents"],"operationId":"agents.getAgent","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"Agent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns one agent owned by the authenticated team. Other teams' agents and inaccessible personal agents are reported as not found.","summary":"Retrieve an agent"},"patch":{"tags":["Agents"],"operationId":"agents.updateAgent","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"Agent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Updates an agent and returns the full object. Triggers replace the complete saved set and re-sync Temporal schedules; omit triggers to keep them unchanged.","summary":"Update an agent","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentUpdate"}}},"required":true}},"delete":{"tags":["Agents"],"operationId":"agents.deleteAgent","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"204":{"description":"<No Content>","headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Permanently deletes an agent and its run history, cancels active runs, and removes its Temporal schedules. Answers 204 with no body. Inaccessible agents are reported as not found.","summary":"Delete an agent"}},"/v1/agent-runs/{id}":{"get":{"tags":["Agent runs"],"operationId":"agentRuns.getAgentRun","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"expand[]","in":"query","schema":{"type":"array","items":{"type":"string"},"description":"Related objects to include: credits. Repeat the parameter or separate keys with commas."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"AgentRun","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRunEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns run metadata. Free-text fields are omitted when the run's thread exceeds the token's classification allowance. Expand credits to include settled usage.","summary":"Retrieve an agent run"}},"/v1/agent-runs":{"get":{"tags":["Agent runs"],"operationId":"agentRuns.listAgentRuns","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["started_at","completed_at","status"],"description":"Sort field. Defaults to started_at. Incomplete runs have a null completed_at."},"required":false},{"name":"expand[]","in":"query","schema":{"type":"array","items":{"type":"string"},"description":"Related objects to include: credits. Repeat the parameter or separate keys with commas."},"required":false},{"name":"agent_id","in":"query","schema":{"type":"string"},"required":false},{"name":"status[]","in":"query","schema":{"type":"array","items":{"anyOf":[{"type":"string","enum":["QUEUED"],"title":"QUEUED"},{"type":"string","enum":["RUNNING"],"title":"RUNNING"},{"type":"string","enum":["SUCCEEDED"],"title":"SUCCEEDED"},{"type":"string","enum":["FAILED"],"title":"FAILED"},{"type":"string","enum":["ACTION_REQUIRED"],"title":"ACTION_REQUIRED"},{"type":"string","enum":["REFUSED"],"title":"REFUSED"},{"type":"string","enum":["CANCELED"],"title":"CANCELED"},{"type":"string","enum":["TIMED_OUT"],"title":"TIMED_OUT"},{"type":"string","enum":["SYSTEM_TERMINATED"],"title":"SYSTEM_TERMINATED"}]}},"required":false},{"name":"updated_since","in":"query","schema":{"type":"string","description":"Only runs started or completed at or after this time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRunConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Lists readable runs owned by the authenticated team, most recently started first by default. Sub-team runs are not included.","summary":"List agent runs"}},"/v1/agents/{id}/runs":{"post":{"tags":["Agent runs"],"operationId":"agentRuns.startAgentRun","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"idempotency-key","in":"header","schema":{"type":"string","description":"Makes a retried request safe. Reuse the same key to retry; the original result is returned instead of repeating the action. Keys are kept for 60 minutes. 1 to 255 printable ASCII characters."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"202":{"description":"AgentRun","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRunEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"402":{"description":"QuotaExceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceededEncoded"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Starts a manual run asynchronously and returns the run. Send an `Idempotency-Key` header to make a retry safe. Credit enforcement returns 402; missing run permission returns 403.","summary":"Start an agent run","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"opportunity_id":{"type":"string"},"proposal_id":{"type":"string"},"document_id":{"type":"string"},"award_id":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}}},"required":true}}},"/v1/agent-runs/{id}/cancel":{"post":{"tags":["Agent runs"],"operationId":"agentRuns.cancelAgentRun","parameters":[{"name":"id","in":"path","schema":{"type":"string"},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"AgentRun","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentRunEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"summary":"Cancel an agent run"}},"/v1/opportunities":{"get":{"tags":["Opportunities"],"operationId":"opportunities.listOpportunities","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"updated_since","in":"query","schema":{"type":"string","description":"Only records updated at or after this time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["created_at","updated_at","title","due_date"],"description":"Sort field. Defaults to updated_at."},"required":false},{"name":"phase_id[]","in":"query","schema":{"type":"array","items":{"type":"string"},"description":"Only opportunities in these capture phases. Repeat the parameter for more than one phase."},"required":false},{"name":"agency_id","in":"query","schema":{"type":"string","description":"Only opportunities from this agency."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns the opportunities owned by the authenticated team, most recently updated first by default. Sub-teams' opportunities are not included. Opportunities above the token's classification ceiling are left out. For example, `GET /v1/opportunities?limit=5` returns the five most recently updated.","summary":"List opportunities"},"post":{"tags":["Opportunities"],"operationId":"opportunities.createOpportunity","parameters":[{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"201":{"description":"An opportunity the team is tracking.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Creates an opportunity on the authenticated team and returns it. A title already used on the team answers `conflict` without creating anything.","summary":"Create an opportunity","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityCreateEncoded"}}},"required":true}}},"/v1/opportunities/{id}":{"get":{"tags":["Opportunities"],"operationId":"opportunities.getOpportunity","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Opportunity identifier."},"required":true},{"name":"expand[]","in":"query","schema":{"type":"array","items":{"type":"string"},"description":"Related objects to include: custom_fields, members. Repeat the parameter or separate keys with commas."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"An opportunity the team is tracking.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns one opportunity owned by the authenticated team. Opportunities on other teams, or above the token's classification ceiling, are reported as not found.","summary":"Retrieve an opportunity"},"patch":{"tags":["Opportunities"],"operationId":"opportunities.updateOpportunity","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Opportunity identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"An opportunity the team is tracking.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Changes the given fields of one opportunity owned by the authenticated team and returns the updated opportunity. Opportunities on other teams, or above the token's classification ceiling, are reported as not found.","summary":"Update an opportunity","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityUpdate"}}},"required":true}},"delete":{"tags":["Opportunities"],"operationId":"opportunities.deleteOpportunity","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Opportunity identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"202":{"description":"<No Content>","headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Starts deleting one opportunity owned by the authenticated team and answers 202 with no body once the deletion is queued. Opportunities on other teams, or above the token's classification ceiling, are reported as not found.","summary":"Delete an opportunity"}},"/v1/contracts":{"get":{"tags":["Contracts"],"operationId":"contracts.listContracts","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"updated_since","in":"query","schema":{"type":"string","description":"Only records updated at or after this time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["created_at","updated_at","title"],"description":"Sort field. Defaults to updated_at."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns the contracts owned by the authenticated team, most recently updated first by default. Sub-teams' contracts are not included. Contracts above the token's classification ceiling, and contracts that are not yet verified, are left out. For example, `GET /v1/contracts?limit=5` returns the five most recently updated.","summary":"List contracts"},"post":{"tags":["Contracts"],"operationId":"contracts.createContract","parameters":[{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"201":{"description":"A contract award the team tracks. Amounts are `null` when the token's user cannot read sensitive contract details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Creates a contract on the authenticated team and returns it. A contract number already used on the team answers `conflict` without creating anything.","summary":"Create a contract","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractCreateEncoded"}}},"required":true}}},"/v1/contracts/{id}":{"get":{"tags":["Contracts"],"operationId":"contracts.getContract","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Contract identifier."},"required":true},{"name":"expand[]","in":"query","schema":{"type":"array","items":{"type":"string"},"description":"Related objects to include: past_performance.writeups. Repeat the parameter or separate keys with commas."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"A contract award the team tracks. Amounts are `null` when the token's user cannot read sensitive contract details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns one contract owned by the authenticated team. Contracts on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Retrieve a contract"},"patch":{"tags":["Contracts"],"operationId":"contracts.updateContract","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Contract identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"A contract award the team tracks. Amounts are `null` when the token's user cannot read sensitive contract details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Changes the given fields of one contract owned by the authenticated team and returns the updated contract. Changing an amount needs permission to edit sensitive contract details. Contracts on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Update a contract","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractUpdate"}}},"required":true}},"delete":{"tags":["Contracts"],"operationId":"contracts.deleteContract","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Contract identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"202":{"description":"<No Content>","headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Starts deleting one contract owned by the authenticated team and answers 202 with no body once the deletion is queued. A contract that is still processing answers `validation_failed`. Contracts on other teams or sub-teams, or above the token's classification ceiling, are reported as not found. For example, `DELETE /v1/contracts/{id}` with the header `Authorization: Bearer <token>` answers `202` with an empty body.","summary":"Delete a contract"}},"/v1/documents/{id}":{"patch":{"tags":["Documents"],"operationId":"documents.updateDocument","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Document identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"A document in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Changes one document's display name and returns the updated document. Classification cannot be changed. Documents outside the authenticated team's Data Library or above the token's classification ceiling are reported as not found.","summary":"Rename a document","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}}},"required":true}},"delete":{"tags":["Documents"],"operationId":"documents.deleteDocument","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Document identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","enum":["document"]},"status":{"type":"string","enum":["deleting"]}},"required":["id","object","status"],"additionalProperties":false}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Accepts an asynchronous document deletion and returns its id and deleting status. The team-wide limit of 30 requests and 100 documents per five minutes is shared with GovDash UI users. Rate-limited requests return 429 with Retry-After. Documents outside the authenticated team's Data Library or above the token's classification ceiling are reported as not found.","summary":"Delete a document"},"get":{"tags":["Documents"],"operationId":"documents.getDocument","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Document identifier."},"required":true},{"name":"expand[]","in":"query","schema":{"type":"array","items":{"type":"string"},"description":"Related objects to include: download_url. Repeat the parameter or separate keys with commas."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"A document in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns one document in the authenticated team's Data Library. Documents on other teams or sub-teams, documents the token's user cannot read, and documents above the token's classification ceiling are reported as not found. `expand[]=download_url` adds a download link that expires after about an hour, or `null` until the document is `ready`, for SharePoint documents, and for documents with no stored file.","summary":"Retrieve a document"}},"/v1/documents":{"get":{"tags":["Documents"],"operationId":"documents.listDocuments","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"updated_since","in":"query","schema":{"type":"string","description":"Only records updated at or after this time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["created_at","updated_at"],"description":"Sort field. Defaults to created_at."},"required":false},{"name":"status","in":"query","schema":{"type":"string","enum":["processing","ready","action_required","failed","unsupported","deleting"],"description":"Only documents in this processing status: processing, ready, action_required, failed, unsupported, deleting."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns the documents in the authenticated team's Data Library, most recently created first by default. Sub-teams' documents are not included. Documents the token's user cannot read, or above the token's classification ceiling, are left out. For example, `GET /v1/documents?limit=5` returns the five most recently created documents.","summary":"List documents"}},"/v1/agencies":{"get":{"tags":["Agencies"],"operationId":"agencies.listAgencies","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"updated_since","in":"query","schema":{"type":"string","description":"Only records updated at or after this time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["created_at","updated_at","name"],"description":"Sort field. Defaults to created_at."},"required":false},{"name":"name","in":"query","schema":{"type":"string","minLength":1,"description":"Only agencies whose name contains this text, ignoring case."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns the agencies in the authenticated team's Data Library, most recently created first by default. Sub-teams' agencies are not included. Agencies above the token's classification ceiling are left out. For example, `GET /v1/agencies?limit=5` returns the five most recently created agencies.","summary":"List agencies"},"post":{"tags":["Agencies"],"operationId":"agencies.createAgency","parameters":[{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"201":{"description":"An agency in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Creates an agency in the authenticated team's Data Library and returns it. A name already used on the team answers `conflict` without creating anything.","summary":"Create an agency","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyCreateEncoded"}}},"required":true}}},"/v1/agencies/{id}":{"get":{"tags":["Agencies"],"operationId":"agencies.getAgency","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Agency identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"An agency in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns one agency in the authenticated team's Data Library. Agencies on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Retrieve an agency"},"patch":{"tags":["Agencies"],"operationId":"agencies.updateAgency","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Agency identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"An agency in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Changes the given fields of one agency in the authenticated team's Data Library and returns the updated agency. A name another agency on the team already uses answers `conflict` without changing anything. Agencies on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Update an agency","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyUpdate"}}},"required":true}},"delete":{"tags":["Agencies"],"operationId":"agencies.deleteAgency","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Agency identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"204":{"description":"<No Content>","headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Deletes one agency in the authenticated team's Data Library and answers 204 with no body. Agencies on other teams or sub-teams, or above the token's classification ceiling, are reported as not found. For example, `DELETE /v1/agencies/{id}` answers `204 No Content` once the agency is gone, and `404 Not Found` if it was already deleted.","summary":"Delete an agency"}},"/v1/companies":{"get":{"tags":["Companies"],"operationId":"companies.listCompanies","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"updated_since","in":"query","schema":{"type":"string","description":"Only records updated at or after this time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["created_at","updated_at","name"],"description":"Sort field. Defaults to name."},"required":false},{"name":"name","in":"query","schema":{"type":"string","minLength":1,"description":"Only companies whose legal name contains this text, ignoring case."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns the companies in the authenticated team's Data Library, ordered by name by default. Sub-teams' companies are not included. Companies above the token's classification ceiling are left out. For example, `GET /v1/companies?limit=5` returns the first five companies.","summary":"List companies"},"post":{"tags":["Companies"],"operationId":"companies.createCompany","parameters":[{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"201":{"description":"A company in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Creates a company, UNCLASSIFIED unless a classification is given, in the authenticated team's Data Library and returns it. A name, UEI or CAGE code already used on the team answers `conflict` without creating anything.","summary":"Create a company","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyCreateEncoded"}}},"required":true}}},"/v1/companies/{id}":{"get":{"tags":["Companies"],"operationId":"companies.getCompany","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Company identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"A company in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns one company in the authenticated team's Data Library. Companies on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Retrieve a company"},"patch":{"tags":["Companies"],"operationId":"companies.updateCompany","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Company identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"A company in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Changes the given fields of one company in the authenticated team's Data Library and returns the updated company. A name, UEI, CAGE code or DUNS number another company on the team already uses answers `conflict` without changing anything. Companies on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Update a company","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdate"}}},"required":true}},"delete":{"tags":["Companies"],"operationId":"companies.deleteCompany","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Company identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"204":{"description":"<No Content>","headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Deletes one company in the authenticated team's Data Library and answers 204 with no body. The company that represents the team cannot be deleted. Companies on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Delete a company"}},"/v1/people":{"get":{"tags":["People"],"operationId":"people.listPeople","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"updated_since","in":"query","schema":{"type":"string","description":"Only records updated at or after this time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["created_at","updated_at","name"],"description":"Sort field. Defaults to name."},"required":false},{"name":"name","in":"query","schema":{"type":"string","minLength":1,"description":"Only people whose first and last name contain this text, ignoring case. Title, middle name and suffix are not searched, and punctuation in names is stored as spaces."},"required":false},{"name":"email","in":"query","schema":{"type":"string","minLength":1,"description":"Only people whose email address contains this text, ignoring case."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns the people owned by the authenticated team, ordered by name by default. Sub-teams' people are not included. People above the token's classification ceiling are left out. For example, `GET /v1/people?limit=5` returns the first five people.","summary":"List people"},"post":{"tags":["People"],"operationId":"people.createPerson","parameters":[{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"201":{"description":"A person in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Creates a person, UNCLASSIFIED unless a classification is given, on the authenticated team and returns it. A first and last name already used on the team answers `conflict` without creating anything.","summary":"Create a person","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonCreateEncoded"}}},"required":true}}},"/v1/people/{id}":{"get":{"tags":["People"],"operationId":"people.getPerson","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Person identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"A person in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Returns one person owned by the authenticated team. People on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Retrieve a person"},"patch":{"tags":["People"],"operationId":"people.updatePerson","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Person identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"A person in the team's Data Library.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonEncoded"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Changes the given fields of one person owned by the authenticated team and returns the updated person. A rename to a first and last name already used on the team answers `conflict` without changing anything. People on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Update a person","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonUpdate"}}},"required":true}},"delete":{"tags":["People"],"operationId":"people.deletePerson","parameters":[{"name":"id","in":"path","schema":{"type":"string","description":"Person identifier."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"204":{"description":"<No Content>","headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundEncoded"}}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Permanently deletes one person owned by the authenticated team and answers 204 with no body. People on other teams or sub-teams, or above the token's classification ceiling, are reported as not found.","summary":"Delete a person"}},"/v1/meta/phases":{"get":{"tags":["Metadata"],"operationId":"meta.listOpportunityPhases","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["name","order"],"description":"Sort by name or configured order. By default, grouped by team in configured order."},"required":false},{"name":"name","in":"query","schema":{"type":"string","minLength":1,"description":"Only definitions whose name contains this text, ignoring case."},"required":false},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityPhaseDefinitionConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Active phases for the authenticated team and its sub-teams. Use these identifiers when assigning a phase to a record.","summary":"List phases"}},"/v1/meta/custom-fields":{"get":{"tags":["Metadata"],"operationId":"meta.listCustomFieldDefinitions","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","description":"Return the objects after this cursor: the previous page's `pageInfo.endCursor`, or any edge's `cursor`. Omit it to start at the first page."},"required":false},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of objects to return, from 1 to 100. Defaults to 20."},"required":false},{"name":"sort_direction","in":"query","schema":{"type":"string","enum":["asc","desc"],"description":"Sort direction. Keep the same sort and filters when following a cursor."},"required":false},{"name":"sort_by","in":"query","schema":{"type":"string","enum":["name","order"],"description":"Sort by name or configured order. By default, grouped by team in configured order."},"required":false},{"name":"name","in":"query","schema":{"type":"string","minLength":1,"description":"Only definitions whose name contains this text, ignoring case."},"required":false},{"name":"entity_type","in":"query","schema":{"anyOf":[{"type":"string","enum":["opportunity"]}],"description":"Object type the custom fields belong to."},"required":true},{"name":"govdash-version","in":"header","required":true,"description":"The dated API version this request is written against. Responses keep that version's shape after newer versions ship.","schema":{"type":"string","enum":["2026-11-17"]}}],"security":[{"bearer":[]}],"responses":{"200":{"description":"One page of a list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomFieldDefinitionConnection"}}},"headers":{"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":true},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":true},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":true}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestEncoded"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenEncoded"}}},"headers":{"www-authenticate":{"schema":{"type":"string","description":"The bearer challenge (RFC 6750)."},"required":true}}},"413":{"description":"PayloadTooLarge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLargeEncoded"}}}},"422":{"description":"ValidationFailed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationFailedEncoded"}}}},"429":{"description":"BucketRateLimited | AuthRateLimited","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BucketRateLimitedEncoded"},{"$ref":"#/components/schemas/RateLimitedEncoded"}]}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true},"x-ratelimit-limit":{"schema":{"type":"string","description":"Requests per window allowed by the budget closest to running out."},"required":false},"x-ratelimit-remaining":{"schema":{"type":"string","description":"Requests left in that budget."},"required":false},"x-ratelimit-reset":{"schema":{"type":"string","description":"Seconds until that budget is fully refilled."},"required":false}}},"500":{"description":"InternalError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorEncoded"}}}},"503":{"description":"ServiceUnavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthUnavailableEncoded"}}},"headers":{"retry-after":{"schema":{"type":"string","description":"Seconds to wait before retrying."},"required":true}}}},"description":"Active custom fields for an object type, for the authenticated team and its sub-teams, with the allowed values of picklist fields.","summary":"List custom field definitions"}},"/health":{"get":{"tags":["System"],"operationId":"health","parameters":[],"security":[],"responses":{"200":{"description":"HealthStatus","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatusEncoded"}}}}},"description":"Returns `{\"status\":\"ok\"}` when the API is up. Needs no API key and isn't rate limited.","summary":"Check API health"}},"/.well-known/oauth-protected-resource":{"get":{"tags":["OAuth"],"operationId":"protectedResourceMetadata","parameters":[],"security":[],"responses":{"200":{"description":"ProtectedResourceMetadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProtectedResourceMetadataEncoded"}}}}}}}},"components":{"schemas":{"ProtectedResourceMetadataEncoded":{"type":"object","properties":{"resource":{"type":"string"},"authorization_servers":{"type":"array","items":{"type":"string"}},"scopes_supported":{"type":"array","items":{"type":"string"}},"bearer_methods_supported":{"type":"array","items":{"type":"string"}}},"required":["resource","authorization_servers","scopes_supported","bearer_methods_supported"],"additionalProperties":false},"HealthStatusEncoded":{"type":"object","properties":{"status":{"type":"string","enum":["ok"]}},"required":["status"],"additionalProperties":false},"UnauthorizedEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"InternalErrorEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"BadRequestEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"AuthUnavailableEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["service_unavailable"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"RateLimitedEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"BucketRateLimitedEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."},"bucket":{"type":"string","enum":["team","token"],"description":"The budget that was exhausted: the team's or the access token's."}},"required":["code","message","bucket"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"PayloadTooLargeEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["payload_too_large"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"ForbiddenEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["forbidden","classification_out_of_scope"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"ValidationFailedEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_failed"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"CustomFieldDefinitionConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/CustomFieldDefinitionEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"PageInfo":{"type":"object","properties":{"hasNextPage":{"type":"boolean","description":"Whether more objects follow this page. Pass `endCursor` as `cursor` to fetch them."},"hasPreviousPage":{"type":"boolean","description":"Whether this page was fetched after a cursor."},"startCursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The first edge's cursor. `null` when the page is empty."},"endCursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The last edge's cursor. `null` when the page is empty."}},"required":["hasNextPage","hasPreviousPage","startCursor","endCursor"],"additionalProperties":false,"description":"Where this page sits in the list."},"CustomFieldDefinitionEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/CustomFieldDefinitionEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"CustomFieldDefinitionEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Custom field identifier."},"team_id":{"type":"string","description":"Team that owns the custom field."},"name":{"type":"string","description":"Custom field name."},"type":{"anyOf":[{"type":"string","enum":["TEXT"],"title":"TEXT"},{"type":"string","enum":["TEXTAREA"],"title":"TEXTAREA"},{"type":"string","enum":["NUMBER"],"title":"NUMBER"},{"type":"string","enum":["NUMBER_RANGE"],"title":"NUMBER_RANGE"},{"type":"string","enum":["CURRENCY"],"title":"CURRENCY"},{"type":"string","enum":["CURRENCY_RANGE"],"title":"CURRENCY_RANGE"},{"type":"string","enum":["DATE"],"title":"DATE"},{"type":"string","enum":["DATE_RANGE"],"title":"DATE_RANGE"},{"type":"string","enum":["BOOLEAN"],"title":"BOOLEAN"},{"type":"string","enum":["SELECT"],"title":"SELECT"},{"type":"string","enum":["MULTI_SELECT"],"title":"MULTI_SELECT"},{"type":"string","enum":["URL"],"title":"URL"},{"type":"string","enum":["PERCENTAGE"],"title":"PERCENTAGE"},{"type":"string","enum":["FORMULA"],"title":"FORMULA"},{"type":"string","enum":["RATING"],"title":"RATING"}],"description":"Kind of value the field holds."},"options":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Allowed values for `SELECT` and `MULTI_SELECT` fields, null for other types."}},"required":["id","team_id","name","type","options"],"additionalProperties":false},"OpportunityPhaseDefinitionConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/OpportunityPhaseDefinitionEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"OpportunityPhaseDefinitionEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/OpportunityPhaseDefinitionEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"OpportunityPhaseDefinitionEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Phase identifier. Use it as `phase_id` when creating or updating an opportunity."},"team_id":{"type":"string","description":"Team that owns the phase."},"name":{"type":"string","description":"Phase name."},"order":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Position in the team's pipeline, ascending."}},"required":["id","team_id","name","order"],"additionalProperties":false},"NotFoundEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"ConflictEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["conflict"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"PersonEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Person identifier."},"object":{"type":"string","enum":["person"],"description":"Object type, always `person`."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the person."},"name":{"type":"string","description":"Full display name, combined from the name parts."},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Name prefix, title, or rank such as Dr., CPL, or Gen."},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"First (given) name."},"middle_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Middle name."},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Last (family) name."},"suffix":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Name suffix such as Jr., Sr., or III."},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Email address."},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Phone number."},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"LinkedIn profile URL."},"updated_at":{"type":"string","description":"When the person was last updated.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/PersonEmploymentEncoded"},"description":"Companies and agencies the person works for. Employers the token cannot read are left out."}},"required":["id","object","classification","name","title","first_name","middle_name","last_name","suffix","email","phone","linkedin_url","updated_at","employments"],"additionalProperties":false},"PersonEmploymentEncoded":{"type":"object","properties":{"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Identifier of the employing company."},"agency_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Identifier of the employing agency."},"is_primary":{"type":"boolean","description":"Whether this is the person's primary employment."}},"required":["company_id","agency_id","is_primary"],"additionalProperties":false},"PersonUpdate":{"type":"object","properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Name prefix, title, or rank such as Dr., CPL, or Gen."},"first_name":{"type":"string","minLength":1,"maxLength":250,"description":"First (given) name."},"middle_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Middle name."},"last_name":{"type":"string","minLength":1,"maxLength":250,"description":"Last (family) name. The full name must be unique within the team."},"suffix":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Name suffix such as Jr., Sr., or III."},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Email address."},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Phone number."},"linkedin_url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"LinkedIn profile URL."}},"additionalProperties":false,"minProperties":1,"description":"Fields to change. Send at least one; omitted fields keep their values, and `null` clears a nullable field. `first_name` and `last_name` can be replaced but not cleared."},"PersonCreateEncoded":{"type":"object","properties":{"first_name":{"type":"string","minLength":1,"maxLength":250,"description":"First (given) name."},"last_name":{"type":"string","minLength":1,"maxLength":250,"description":"Last (family) name. The full name must be unique within the team."},"email":{"type":"string","description":"Email address."},"phone":{"type":"string","description":"Phone number."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the person. Defaults to `UNCLASSIFIED`. Values above the token's classification ceiling are forbidden."}},"required":["first_name","last_name"],"additionalProperties":false},"PersonConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/PersonEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"PersonEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/PersonEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"CompanyEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Company identifier."},"object":{"type":"string","enum":["company"],"description":"Object type, always `company`."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the company."},"name":{"type":"string","description":"Legal name, unique within the team."},"dba_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Doing-business-as or trade name."},"relationship_type":{"anyOf":[{"type":"string","enum":["PRIME_CONTRACTOR"],"title":"PRIME_CONTRACTOR"},{"type":"string","enum":["SUB_CONTRACTOR"],"title":"SUB_CONTRACTOR"},{"type":"string","enum":["TEAM_ARRANGEMENT_MEMBER"],"title":"TEAM_ARRANGEMENT_MEMBER"},{"type":"string","enum":["JOINT_VENTURE_MEMBER"],"title":"JOINT_VENTURE_MEMBER"},{"type":"string","enum":["SUBSIDIARY"],"title":"SUBSIDIARY"},{"type":"string","enum":["PARENT_COMPANY"],"title":"PARENT_COMPANY"},{"type":"string","enum":["UNKNOWN"],"title":"UNKNOWN"},{"type":"string","enum":["SUPPLIER"],"title":"SUPPLIER"},{"type":"string","enum":["CUSTOMER"],"title":"CUSTOMER"},{"type":"string","enum":["COMPETITOR"],"title":"COMPETITOR"},{"type":"string","enum":["VENDOR"],"title":"VENDOR"},{"type":"string","enum":["INCUMBENT"],"title":"INCUMBENT"},{"type":"string","enum":["OUR_TEAM"],"title":"OUR_TEAM"}],"description":"How the company relates to the team."},"relationship_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Free-text notes on the relationship with the team."},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Website URL."},"uei":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"SAM Unique Entity Identifier."},"cage_code":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"CAGE code."},"duns_number":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"DUNS number."},"updated_at":{"type":"string","description":"When the company was last updated.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"location":{"anyOf":[{"$ref":"#/components/schemas/CompanyLocationEncoded"},{"type":"null"}],"description":"Primary address. `null` when none is recorded."}},"required":["id","object","classification","name","dba_name","relationship_type","relationship_notes","website_url","uei","cage_code","duns_number","updated_at","location"],"additionalProperties":false},"CompanyLocationEncoded":{"type":"object","properties":{"address_line_1":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"First line of the street address."},"address_line_2":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Second line of the street address."},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"City."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"State or region name."},"state_code":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"State or region code, such as `VA`."},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Postal or ZIP code."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Country name."},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Country code, such as `US`."}},"required":["address_line_1","address_line_2","city","state","state_code","postal_code","country","country_code"],"additionalProperties":false},"CompanyUpdate":{"type":"object","properties":{"location":{"anyOf":[{"$ref":"#/components/schemas/CompanyLocationEncoded"},{"type":"null"}]},"name":{"type":"string","maxLength":250,"description":"Legal name, unique within the team. At most 250 characters and not only whitespace."},"relationship_type":{"type":"string","enum":["JOINT_VENTURE_MEMBER","SUBSIDIARY","PARENT_COMPANY","VENDOR","CUSTOMER","UNKNOWN"],"description":"How the company relates to the team."},"dba_name":{"anyOf":[{"type":"string","minLength":1,"description":"Doing-business-as or trade name. `null` clears it."},{"type":"null"}]},"website_url":{"anyOf":[{"type":"string","minLength":1,"description":"Website URL. `null` clears it."},{"type":"null"}]},"relationship_notes":{"anyOf":[{"type":"string","minLength":1,"description":"Free-text notes on the relationship with the team. `null` clears them."},{"type":"null"}]},"uei":{"anyOf":[{"type":"string","description":"12-character SAM Unique Entity Identifier, unique within the team."},{"type":"null"}]},"cage_code":{"anyOf":[{"type":"string","description":"5-character CAGE code, unique within the team."},{"type":"null"}]},"duns_number":{"anyOf":[{"type":"string","minLength":1,"description":"DUNS number. `null` clears it."},{"type":"null"}]}},"additionalProperties":false,"minProperties":1,"description":"Fields to change. Send at least one; omitted fields keep their values."},"CompanyCreateEncoded":{"type":"object","properties":{"location":{"$ref":"#/components/schemas/CompanyLocationEncoded"},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the company. Defaults to `UNCLASSIFIED`. Values above the token's classification ceiling are forbidden."},"name":{"type":"string","maxLength":250,"description":"Legal name, unique within the team. At most 250 characters and not only whitespace."},"relationship_type":{"type":"string","enum":["JOINT_VENTURE_MEMBER","SUBSIDIARY","PARENT_COMPANY","VENDOR","CUSTOMER","UNKNOWN"],"description":"How the company relates to the team."},"dba_name":{"type":"string","minLength":1,"description":"Doing-business-as or trade name."},"website_url":{"type":"string","minLength":1,"description":"Website URL."},"relationship_notes":{"type":"string","minLength":1,"description":"Free-text notes on the relationship with the team."},"uei":{"type":"string","description":"12-character SAM Unique Entity Identifier, unique within the team."},"cage_code":{"type":"string","description":"5-character CAGE code, unique within the team."}},"required":["name","relationship_type"],"additionalProperties":false},"CompanyConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/CompanyEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"CompanyEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/CompanyEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"AgencyEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Agency identifier."},"object":{"type":"string","enum":["agency"],"description":"Object type, always `agency`."},"name":{"type":"string","description":"Agency name, unique within the team."},"abbreviation":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Acronym of the government entity the agency is linked to, such as `DOE`."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the agency."},"updated_at":{"type":"string","description":"When the agency was last updated.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"location":{"anyOf":[{"$ref":"#/components/schemas/AgencyLocationEncoded"},{"type":"null"}],"description":"Where a state or local agency sits. `null` for federal agencies and agencies not linked to a government entity."}},"required":["id","object","name","abbreviation","classification","updated_at","location"],"additionalProperties":false},"AgencyLocationEncoded":{"type":"object","properties":{"state":{"type":"string","description":"State code of a state or local agency, such as `VA`."}},"required":["state"],"additionalProperties":false},"AgencyUpdate":{"type":"object","properties":{"name":{"type":"string","maxLength":250,"description":"Agency name, unique within the team. At most 250 characters and not only whitespace."}},"additionalProperties":false,"minProperties":1,"description":"Fields to change. Send at least one; omitted fields keep their values."},"AgencyCreateEncoded":{"type":"object","properties":{"name":{"type":"string","maxLength":250,"description":"Agency name, unique within the team. At most 250 characters and not only whitespace."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the agency. Values above the token's classification ceiling are forbidden."},"team_id":{"type":"string","description":"Team that will own the agency. Defaults to, and must be, the authenticated team."}},"required":["name","classification"],"additionalProperties":false},"AgencyConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/AgencyEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"AgencyEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/AgencyEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"DocumentEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Document identifier."},"object":{"type":"string","enum":["document"],"description":"Object type, always `document`."},"name":{"type":"string","description":"Document display name."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the document."},"status":{"type":"string","enum":["processing","ready","action_required","failed","unsupported","deleting"],"description":"Processing status: `processing` while GovDash reads the file, `ready` once it is usable, `action_required` when it needs a person to act in GovDash, `failed`, `unsupported` for files GovDash skips, or `deleting`."},"created_at":{"type":"string","description":"When the document was created.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"updated_at":{"type":"string","description":"When the document was last updated.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"uploaded_by":{"anyOf":[{"$ref":"#/components/schemas/DocumentUploaderEncoded"},{"type":"null"}],"description":"User who uploaded the document."},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Signed link to download the file, valid for about an hour. `null` until the document is `ready`, and for documents linked from SharePoint and documents with no stored file. Present only with `expand[]=download_url`. Treat it as a secret."}},"required":["id","object","name","classification","status","created_at","updated_at","uploaded_by"],"additionalProperties":false},"DocumentUploaderEncoded":{"type":"object","properties":{"id":{"type":"string","description":"User identifier."},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"User first name."},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"User last name."}},"required":["id","first_name","last_name"],"additionalProperties":false},"DocumentConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/DocumentEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"DocumentEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/DocumentEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"ContractEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Contract identifier."},"object":{"type":"string","enum":["contract"],"description":"Object type, always `contract`."},"team_id":{"type":"string","description":"Team that owns the contract."},"updated_at":{"type":"string","description":"When the contract was last updated.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"title":{"type":"string","description":"Contract title."},"contract_number":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Canonical contract identifier, derived from the contract, task order and subcontract numbers the contract has."},"status":{"anyOf":[{"type":"string","enum":["UNPROCESSED"],"title":"UNPROCESSED"},{"type":"string","enum":["PROCESSING_DOCUMENTS"],"title":"PROCESSING_DOCUMENTS"},{"type":"string","enum":["PROCESSING_AWARD"],"title":"PROCESSING_AWARD"},{"type":"string","enum":["FAILED"],"title":"FAILED"},{"type":"string","enum":["FINALIZED"],"title":"FINALIZED"},{"type":"string","enum":["DELETING"],"title":"DELETING"}],"description":"Processing status of the contract."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the contract."},"awarding_agency_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Identifier of the awarding agency."},"funding_agency_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Identifier of the funding agency."},"vendor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Identifier of the company that holds the contract."},"start_date":{"anyOf":[{"type":"null"},{"type":"string","description":"Start of the period of performance.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"current_end_date":{"anyOf":[{"type":"null"},{"type":"string","description":"End of the currently exercised period of performance.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"ultimate_end_date":{"anyOf":[{"type":"null"},{"type":"string","description":"End of the full period of performance, including all options.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"past_performance":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"business_partner_ids":{"type":"array","items":{"type":"string"}},"writeups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"is_primary":{"type":"boolean"},"updated_at":{"type":"string","description":"When the write-up was last updated.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}},"required":["id","name","is_primary","updated_at"],"additionalProperties":false}}},"required":["id","description","business_partner_ids"],"additionalProperties":false},{"type":"null"}],"description":"Primary past performance, included in detail and write responses. Null when none is recorded. Use expand[]=past_performance.writeups on retrieval for write-up summaries."},"award_value":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Base award amount in US dollars."},"obligated_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Amount obligated by the agency in US dollars."},"current_value":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Current contract value in US dollars: the base and all exercised options."},"ceiling_value":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Ceiling contract value in US dollars: the value including all options."}},"required":["id","object","team_id","updated_at","title","contract_number","status","classification","awarding_agency_id","funding_agency_id","vendor_id","start_date","current_end_date","ultimate_end_date","award_value","obligated_amount","current_value","ceiling_value"],"additionalProperties":false},"ContractUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"description":"Contract title. It can be replaced but not cleared."},"start_date":{"anyOf":[{"type":"null"},{"type":"string","description":"Start of the period of performance.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"current_end_date":{"anyOf":[{"type":"null"},{"type":"string","description":"End of the currently exercised period of performance.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"ultimate_end_date":{"anyOf":[{"type":"null"},{"type":"string","description":"End of the full period of performance, including all options.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"award_value":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Base award amount in US dollars."},"obligated_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Amount obligated by the agency in US dollars."},"current_value":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Current contract value in US dollars: the base and all exercised options."},"ceiling_value":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Ceiling contract value in US dollars: the value including all options."}},"additionalProperties":false,"minProperties":1,"description":"Fields to change. Send at least one; omitted fields keep their values. Send `null` to clear a date or amount."},"ContractCreateEncoded":{"type":"object","properties":{"title":{"type":"string","minLength":1,"description":"Contract title."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the contract. Values above the token's classification ceiling are forbidden."},"team_id":{"type":"string","description":"Team that will own the contract. Defaults to, and must be, the authenticated team."},"contract_number":{"type":"string","minLength":1,"description":"Contract number."},"awarding_agency_id":{"type":"string","minLength":1,"description":"Identifier of an agency, from `GET /v1/agencies`."},"funding_agency_id":{"type":"string","minLength":1,"description":"Identifier of an agency, from `GET /v1/agencies`."},"vendor_id":{"type":"string","minLength":1,"description":"Identifier of the company that holds the contract."},"start_date":{"type":"string","description":"Start of the period of performance.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"current_end_date":{"type":"string","description":"End of the currently exercised period of performance.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"ultimate_end_date":{"type":"string","description":"End of the full period of performance, including all options.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"award_value":{"type":"number","description":"Base award amount in US dollars."},"obligated_amount":{"type":"number","description":"Amount obligated by the agency in US dollars."},"current_value":{"type":"number","description":"Current contract value in US dollars."},"ceiling_value":{"type":"number","description":"Ceiling contract value in US dollars."}},"required":["title","classification"],"additionalProperties":false},"ContractConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/ContractEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"ContractEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/ContractEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"OpportunityEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Opportunity identifier."},"object":{"type":"string","enum":["opportunity"],"description":"Object type, always `opportunity`."},"team_id":{"type":"string","description":"Team that owns the opportunity."},"created_at":{"type":"string","description":"When the opportunity was created.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"updated_at":{"type":"string","description":"When the opportunity was last updated.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"title":{"type":"string","description":"Opportunity name."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opportunity description."},"phase":{"$ref":"#/components/schemas/OpportunityPhaseEncoded"},"solicitation_number":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Solicitation number."},"agency_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Identifier of the issuing agency."},"estimated_value":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Estimated contract value in US dollars."},"due_date":{"anyOf":[{"type":"null"},{"type":"string","description":"Response due date.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"posted_date":{"anyOf":[{"type":"null"},{"type":"string","description":"When the notice was posted.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Link to the opportunity at its source."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the opportunity."},"custom_fields":{"type":"array","items":{"$ref":"#/components/schemas/OpportunityCustomFieldEncoded"},"description":"Custom field values set on the opportunity. Present only with `expand[]=custom_fields`."},"members":{"type":"array","items":{"$ref":"#/components/schemas/OpportunityMemberEncoded"},"description":"Capture team members. Present only with `expand[]=members`."}},"required":["id","object","team_id","created_at","updated_at","title","description","phase","solicitation_number","agency_id","estimated_value","due_date","posted_date","source_url","classification"],"additionalProperties":false},"OpportunityMemberEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Member assignment identifier."},"role":{"$ref":"#/components/schemas/OpportunityMemberRoleEncoded"},"user":{"anyOf":[{"$ref":"#/components/schemas/OpportunityMemberUserEncoded"},{"type":"null"}],"description":"Team user assigned to the role."},"key_person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Identifier of the key person assigned to the role."}},"required":["id","role","user","key_person_id"],"additionalProperties":false},"OpportunityMemberUserEncoded":{"type":"object","properties":{"id":{"type":"string","description":"User identifier."},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"User first name."},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"User last name."},"email":{"type":"string","description":"User email address."}},"required":["id","first_name","last_name","email"],"additionalProperties":false},"OpportunityMemberRoleEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Member role identifier."},"name":{"type":"string","description":"Member role name."}},"required":["id","name"],"additionalProperties":false},"OpportunityCustomFieldEncoded":{"type":"object","properties":{"field_id":{"type":"string","description":"Custom field identifier."},"name":{"type":"string","description":"Custom field name."},"type":{"anyOf":[{"type":"string","enum":["TEXT"],"title":"TEXT"},{"type":"string","enum":["TEXTAREA"],"title":"TEXTAREA"},{"type":"string","enum":["NUMBER"],"title":"NUMBER"},{"type":"string","enum":["NUMBER_RANGE"],"title":"NUMBER_RANGE"},{"type":"string","enum":["CURRENCY"],"title":"CURRENCY"},{"type":"string","enum":["CURRENCY_RANGE"],"title":"CURRENCY_RANGE"},{"type":"string","enum":["DATE"],"title":"DATE"},{"type":"string","enum":["DATE_RANGE"],"title":"DATE_RANGE"},{"type":"string","enum":["BOOLEAN"],"title":"BOOLEAN"},{"type":"string","enum":["SELECT"],"title":"SELECT"},{"type":"string","enum":["MULTI_SELECT"],"title":"MULTI_SELECT"},{"type":"string","enum":["URL"],"title":"URL"},{"type":"string","enum":["PERCENTAGE"],"title":"PERCENTAGE"},{"type":"string","enum":["FORMULA"],"title":"FORMULA"},{"type":"string","enum":["RATING"],"title":"RATING"}],"description":"Custom field type, which determines the shape of `value`."},"value":{"description":"Value set on the opportunity."}},"required":["field_id","name","type","value"],"additionalProperties":false},"OpportunityPhaseEncoded":{"type":"object","properties":{"id":{"type":"string","description":"Phase identifier."},"name":{"type":"string","description":"Phase name."}},"required":["id","name"],"additionalProperties":false},"OpportunityUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"description":"Opportunity name."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opportunity description."},"phase_id":{"type":"string","description":"Phase identifier from `GET /v1/meta/phases` to move the opportunity to."},"solicitation_number":{"type":"string","minLength":1,"description":"Solicitation number. It can be replaced but not cleared."},"agency_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Identifier of the issuing agency."},"estimated_value":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Estimated contract value in US dollars."},"due_date":{"anyOf":[{"type":"null"},{"type":"string","description":"Response due date.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"posted_date":{"anyOf":[{"type":"null"},{"type":"string","description":"When the notice was posted.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]}},"additionalProperties":false,"minProperties":1,"description":"Fields to change. Send at least one; omitted fields keep their values."},"OpportunityCreateEncoded":{"type":"object","properties":{"title":{"type":"string","minLength":1,"description":"Opportunity name, unique within the team."},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}],"description":"Data classification of the opportunity. Values above the token's classification ceiling are forbidden."},"team_id":{"type":"string","description":"Team that will own the opportunity. Defaults to, and must be, the authenticated team."},"description":{"type":"string","description":"Opportunity description."},"phase_id":{"type":"string","minLength":1,"description":"Phase identifier from `GET /v1/meta/phases`. It must be a phase of the authenticated team. Defaults to the team's first active phase."},"solicitation_number":{"type":"string","description":"Solicitation number."},"agency_id":{"type":"string","description":"Identifier of an agency, from `GET /v1/agencies`."},"estimated_value":{"type":"number","description":"Estimated contract value in US dollars."},"due_date":{"type":"string","description":"Response due date.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"posted_date":{"type":"string","description":"When the notice was posted.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"source_url":{"type":"string","description":"Link to the opportunity at its source."}},"required":["title","classification"],"additionalProperties":false},"OpportunityConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/OpportunityEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"OpportunityEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/OpportunityEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"AgentRunEncoded":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","enum":["agent_run"]},"team_id":{"type":"string"},"created_at":{"type":"string","description":"When the run was created.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"updated_at":{"type":"string","description":"Latest run start or completion time.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"agent_id":{"type":"string"},"agent_version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"status":{"anyOf":[{"type":"string","enum":["QUEUED"],"title":"QUEUED"},{"type":"string","enum":["RUNNING"],"title":"RUNNING"},{"type":"string","enum":["SUCCEEDED"],"title":"SUCCEEDED"},{"type":"string","enum":["FAILED"],"title":"FAILED"},{"type":"string","enum":["ACTION_REQUIRED"],"title":"ACTION_REQUIRED"},{"type":"string","enum":["REFUSED"],"title":"REFUSED"},{"type":"string","enum":["CANCELED"],"title":"CANCELED"},{"type":"string","enum":["TIMED_OUT"],"title":"TIMED_OUT"},{"type":"string","enum":["SYSTEM_TERMINATED"],"title":"SYSTEM_TERMINATED"}]},"trigger_type":{"anyOf":[{"type":"string","enum":["OUTLOOK_EMAIL_RECEIVED"],"title":"OUTLOOK_EMAIL_RECEIVED"},{"type":"string","enum":["MANUAL"],"title":"MANUAL"},{"type":"string","enum":["MONITOR"],"title":"MONITOR"},{"type":"string","enum":["SCHEDULE"],"title":"SCHEDULE"},{"type":"string","enum":["OPPORTUNITY_CREATED"],"title":"OPPORTUNITY_CREATED"},{"type":"string","enum":["OPPORTUNITY_STAGE_CHANGED"],"title":"OPPORTUNITY_STAGE_CHANGED"},{"type":"string","enum":["PROPOSAL_CREATED"],"title":"PROPOSAL_CREATED"},{"type":"string","enum":["DOCUMENT_UPLOADED"],"title":"DOCUMENT_UPLOADED"},{"type":"string","enum":["OPPORTUNITY_DOCUMENT_UPLOADED"],"title":"OPPORTUNITY_DOCUMENT_UPLOADED"},{"type":"string","enum":["PROPOSAL_SOLICITATION_DOCUMENT_ADDED"],"title":"PROPOSAL_SOLICITATION_DOCUMENT_ADDED"},{"type":"string","enum":["CONTRACT_DOCUMENT_UPLOADED"],"title":"CONTRACT_DOCUMENT_UPLOADED"},{"type":"string","enum":["CONTRACT_AWARDED"],"title":"CONTRACT_AWARDED"}]},"started_by_user_id":{"type":"string"},"run_as_user_id":{"type":"string"},"started_at":{"type":"string","description":"When the run started.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"completed_at":{"anyOf":[{"type":"null"},{"type":"string","description":"When the run completed.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"}]},"input":{"type":"object","properties":{"opportunity_id":{"type":"string"},"proposal_id":{"type":"string"},"document_id":{"type":"string"},"award_id":{"type":"string"}},"additionalProperties":false},"result_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"classification":{"anyOf":[{"type":"string","enum":["UNCLASSIFIED"],"title":"UNCLASSIFIED"},{"type":"string","enum":["CUI"],"title":"CUI"}]},"credits_used":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","object","team_id","created_at","updated_at","agent_id","agent_version","status","trigger_type","run_as_user_id","started_at","completed_at","thread_id","classification"],"additionalProperties":false},"QuotaExceededEncoded":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["quota_exceeded"]},"message":{"type":"string"},"request_id":{"type":"string","description":"The ID of the request that failed. Quote it to support. The same value is in the `x-request-id` response header."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"AgentRunConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/AgentRunEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"AgentRunEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/AgentRunEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."},"AgentEncoded":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","enum":["agent"]},"team_id":{"type":"string"},"created_at":{"type":"string","description":"When the agent was created.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"updated_at":{"type":"string","description":"When the agent was last updated.","format":"date-time","pattern":"^(?:\\d{4}|[+-]\\d{6})-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"},"name":{"type":"string"},"goal_prompt":{"type":"string"},"enabled":{"type":"boolean"},"visibility":{"anyOf":[{"type":"string","enum":["PERSONAL"],"title":"PERSONAL"},{"type":"string","enum":["TEAM"],"title":"TEAM"}]},"owner_user_id":{"type":"string"},"run_as_user_id":{"type":"string"},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"tool_bundles":{"type":"array","items":{"anyOf":[{"type":"string","enum":["WEB_SEARCH"],"title":"WEB_SEARCH"},{"type":"string","enum":["DATA_LIBRARY_DOCUMENTS"],"title":"DATA_LIBRARY_DOCUMENTS"},{"type":"string","enum":["DATA_LIBRARY_STAFFING_POOL"],"title":"DATA_LIBRARY_STAFFING_POOL"},{"type":"string","enum":["DATA_LIBRARY_COMPANIES"],"title":"DATA_LIBRARY_COMPANIES"},{"type":"string","enum":["CAPTURE"],"title":"CAPTURE"},{"type":"string","enum":["PROPOSAL"],"title":"PROPOSAL"},{"type":"string","enum":["CONTRACT"],"title":"CONTRACT"},{"type":"string","enum":["PRICER"],"title":"PRICER"},{"type":"string","enum":["DISCOVER"],"title":"DISCOVER"},{"type":"string","enum":["DISCOVER_PRIVATE"],"title":"DISCOVER_PRIVATE"},{"type":"string","enum":["DOCUMENT_GENERATION"],"title":"DOCUMENT_GENERATION"},{"type":"string","enum":["TASKS"],"title":"TASKS"},{"type":"string","enum":["GMAIL"],"title":"GMAIL"},{"type":"string","enum":["DRIVE"],"title":"DRIVE"},{"type":"string","enum":["GOOGLE_CALENDAR"],"title":"GOOGLE_CALENDAR"},{"type":"string","enum":["USA_SPENDING"],"title":"USA_SPENDING"},{"type":"string","enum":["REPORTS"],"title":"REPORTS"},{"type":"string","enum":["CALENDAR"],"title":"CALENDAR"},{"type":"string","enum":["CORE"],"title":"CORE"},{"type":"string","enum":["EXTENSION_WEBPAGE"],"title":"EXTENSION_WEBPAGE"},{"type":"string","enum":["HELP_CENTER"],"title":"HELP_CENTER"},{"type":"string","enum":["DEVTOOLS"],"title":"DEVTOOLS"},{"type":"string","enum":["TEAMING_EVAL"],"title":"TEAMING_EVAL"},{"type":"string","enum":["SUGGESTED_PARTNERSHIP"],"title":"SUGGESTED_PARTNERSHIP"},{"type":"string","enum":["SHAREPOINT_FILE_SEARCH"],"title":"SHAREPOINT_FILE_SEARCH"},{"type":"string","enum":["OUTLINE_AGENT"],"title":"OUTLINE_AGENT"},{"type":"string","enum":["ENTITY_EXTRACTION"],"title":"ENTITY_EXTRACTION"}]}},"mcp_connectors":{"type":"array","items":{"type":"string"}},"skills":{"type":"array","items":{"type":"string"}},"child_agent_ids":{"type":"array","items":{"type":"string"}},"web_domain_allowlist":{"type":"array","items":{"type":"string"}},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/AgentTriggerEncoded"}},"chat_delivery_destinations":{"type":"array","items":{"$ref":"#/components/schemas/AgentDeliveryDestination"}},"chat_delivery_email":{"type":"boolean"},"pro_team_agent_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","object","team_id","created_at","updated_at","name","goal_prompt","enabled","visibility","owner_user_id","run_as_user_id","version","tool_bundles","mcp_connectors","skills","child_agent_ids","web_domain_allowlist","triggers","chat_delivery_destinations","chat_delivery_email","pro_team_agent_id"],"additionalProperties":false},"AgentDeliveryDestination":{"type":"object","properties":{"provider":{"anyOf":[{"type":"string","enum":["SLACK"],"title":"SLACK"},{"type":"string","enum":["GOV_SLACK"],"title":"GOV_SLACK"},{"type":"string","enum":["TEAMS"],"title":"TEAMS"},{"type":"string","enum":["TEAMS_GCC_HIGH"],"title":"TEAMS_GCC_HIGH"}]},"destination":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["channel"]},"channel_id":{"type":"string"}},"required":["type","channel_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["user"]},"user_id":{"type":"string"}},"required":["type","user_id"],"additionalProperties":false}]}},"required":["provider","destination"],"additionalProperties":false},"AgentTriggerEncoded":{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["OUTLOOK_EMAIL_RECEIVED"],"title":"OUTLOOK_EMAIL_RECEIVED"},{"type":"string","enum":["MANUAL"],"title":"MANUAL"},{"type":"string","enum":["MONITOR"],"title":"MONITOR"},{"type":"string","enum":["SCHEDULE"],"title":"SCHEDULE"},{"type":"string","enum":["OPPORTUNITY_CREATED"],"title":"OPPORTUNITY_CREATED"},{"type":"string","enum":["OPPORTUNITY_STAGE_CHANGED"],"title":"OPPORTUNITY_STAGE_CHANGED"},{"type":"string","enum":["PROPOSAL_CREATED"],"title":"PROPOSAL_CREATED"},{"type":"string","enum":["DOCUMENT_UPLOADED"],"title":"DOCUMENT_UPLOADED"},{"type":"string","enum":["OPPORTUNITY_DOCUMENT_UPLOADED"],"title":"OPPORTUNITY_DOCUMENT_UPLOADED"},{"type":"string","enum":["PROPOSAL_SOLICITATION_DOCUMENT_ADDED"],"title":"PROPOSAL_SOLICITATION_DOCUMENT_ADDED"},{"type":"string","enum":["CONTRACT_DOCUMENT_UPLOADED"],"title":"CONTRACT_DOCUMENT_UPLOADED"},{"type":"string","enum":["CONTRACT_AWARDED"],"title":"CONTRACT_AWARDED"}]},"enabled":{"type":"boolean"},"cron_expression":{"anyOf":[{"type":"string"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["type","enabled","cron_expression","timezone"],"additionalProperties":false},"AgentUpdate":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"goal_prompt":{"type":"string","minLength":1,"maxLength":50000},"visibility":{"anyOf":[{"type":"string","enum":["PERSONAL"],"title":"PERSONAL"},{"type":"string","enum":["TEAM"],"title":"TEAM"}]},"run_as_user_id":{"type":"string","minLength":1},"enabled":{"type":"boolean"},"tool_bundles":{"type":"array","items":{"anyOf":[{"type":"string","enum":["WEB_SEARCH"],"title":"WEB_SEARCH"},{"type":"string","enum":["DATA_LIBRARY_DOCUMENTS"],"title":"DATA_LIBRARY_DOCUMENTS"},{"type":"string","enum":["DATA_LIBRARY_STAFFING_POOL"],"title":"DATA_LIBRARY_STAFFING_POOL"},{"type":"string","enum":["DATA_LIBRARY_COMPANIES"],"title":"DATA_LIBRARY_COMPANIES"},{"type":"string","enum":["CAPTURE"],"title":"CAPTURE"},{"type":"string","enum":["PROPOSAL"],"title":"PROPOSAL"},{"type":"string","enum":["CONTRACT"],"title":"CONTRACT"},{"type":"string","enum":["PRICER"],"title":"PRICER"},{"type":"string","enum":["DISCOVER"],"title":"DISCOVER"},{"type":"string","enum":["DISCOVER_PRIVATE"],"title":"DISCOVER_PRIVATE"},{"type":"string","enum":["DOCUMENT_GENERATION"],"title":"DOCUMENT_GENERATION"},{"type":"string","enum":["TASKS"],"title":"TASKS"},{"type":"string","enum":["GMAIL"],"title":"GMAIL"},{"type":"string","enum":["DRIVE"],"title":"DRIVE"},{"type":"string","enum":["GOOGLE_CALENDAR"],"title":"GOOGLE_CALENDAR"},{"type":"string","enum":["USA_SPENDING"],"title":"USA_SPENDING"},{"type":"string","enum":["REPORTS"],"title":"REPORTS"},{"type":"string","enum":["CALENDAR"],"title":"CALENDAR"},{"type":"string","enum":["CORE"],"title":"CORE"},{"type":"string","enum":["EXTENSION_WEBPAGE"],"title":"EXTENSION_WEBPAGE"},{"type":"string","enum":["HELP_CENTER"],"title":"HELP_CENTER"},{"type":"string","enum":["DEVTOOLS"],"title":"DEVTOOLS"},{"type":"string","enum":["TEAMING_EVAL"],"title":"TEAMING_EVAL"},{"type":"string","enum":["SUGGESTED_PARTNERSHIP"],"title":"SUGGESTED_PARTNERSHIP"},{"type":"string","enum":["SHAREPOINT_FILE_SEARCH"],"title":"SHAREPOINT_FILE_SEARCH"},{"type":"string","enum":["OUTLINE_AGENT"],"title":"OUTLINE_AGENT"},{"type":"string","enum":["ENTITY_EXTRACTION"],"title":"ENTITY_EXTRACTION"}]}},"mcp_connectors":{"type":"array","items":{"type":"string"}},"skills":{"type":"array","items":{"type":"string"}},"child_agent_ids":{"type":"array","items":{"type":"string"}},"web_domain_allowlist":{"type":"array","items":{"type":"string"}},"triggers":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["OUTLOOK_EMAIL_RECEIVED"],"title":"OUTLOOK_EMAIL_RECEIVED"},{"type":"string","enum":["MANUAL"],"title":"MANUAL"},{"type":"string","enum":["MONITOR"],"title":"MONITOR"},{"type":"string","enum":["SCHEDULE"],"title":"SCHEDULE"},{"type":"string","enum":["OPPORTUNITY_CREATED"],"title":"OPPORTUNITY_CREATED"},{"type":"string","enum":["OPPORTUNITY_STAGE_CHANGED"],"title":"OPPORTUNITY_STAGE_CHANGED"},{"type":"string","enum":["PROPOSAL_CREATED"],"title":"PROPOSAL_CREATED"},{"type":"string","enum":["DOCUMENT_UPLOADED"],"title":"DOCUMENT_UPLOADED"},{"type":"string","enum":["OPPORTUNITY_DOCUMENT_UPLOADED"],"title":"OPPORTUNITY_DOCUMENT_UPLOADED"},{"type":"string","enum":["PROPOSAL_SOLICITATION_DOCUMENT_ADDED"],"title":"PROPOSAL_SOLICITATION_DOCUMENT_ADDED"},{"type":"string","enum":["CONTRACT_DOCUMENT_UPLOADED"],"title":"CONTRACT_DOCUMENT_UPLOADED"},{"type":"string","enum":["CONTRACT_AWARDED"],"title":"CONTRACT_AWARDED"}]},"enabled":{"type":"boolean"},"cron_expression":{"type":"string","minLength":1},"timezone":{"type":"string","minLength":1},"mailbox":{"type":"object","properties":{"account_id":{"type":"string","minLength":1},"tenant_id":{"type":"string","minLength":1}},"required":["account_id","tenant_id"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},"description":"Full replacement trigger set. An empty array removes all triggers and their schedules. SCHEDULE requires cron_expression and timezone."},"subscriber_ids":{"type":"array","items":{"type":"string"}},"avatar_id":{"type":"string"},"chat_delivery_destinations":{"type":"array","items":{"type":"object","properties":{"provider":{"anyOf":[{"type":"string","enum":["SLACK"],"title":"SLACK"},{"type":"string","enum":["GOV_SLACK"],"title":"GOV_SLACK"},{"type":"string","enum":["TEAMS"],"title":"TEAMS"},{"type":"string","enum":["TEAMS_GCC_HIGH"],"title":"TEAMS_GCC_HIGH"}]},"destination":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["channel"]},"channel_id":{"type":"string","minLength":1}},"required":["type","channel_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["user"]},"user_id":{"type":"string","minLength":1}},"required":["type","user_id"],"additionalProperties":false}]}},"required":["provider","destination"],"additionalProperties":false}},"chat_delivery_email":{"type":"boolean"}},"additionalProperties":false,"minProperties":1,"description":"Fields to update; omitted fields retain their values."},"AgentCreate":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"goal_prompt":{"type":"string","minLength":1,"maxLength":50000},"visibility":{"anyOf":[{"type":"string","enum":["PERSONAL"],"title":"PERSONAL"},{"type":"string","enum":["TEAM"],"title":"TEAM"}]},"run_as_user_id":{"type":"string","minLength":1},"tool_bundles":{"type":"array","items":{"anyOf":[{"type":"string","enum":["WEB_SEARCH"],"title":"WEB_SEARCH"},{"type":"string","enum":["DATA_LIBRARY_DOCUMENTS"],"title":"DATA_LIBRARY_DOCUMENTS"},{"type":"string","enum":["DATA_LIBRARY_STAFFING_POOL"],"title":"DATA_LIBRARY_STAFFING_POOL"},{"type":"string","enum":["DATA_LIBRARY_COMPANIES"],"title":"DATA_LIBRARY_COMPANIES"},{"type":"string","enum":["CAPTURE"],"title":"CAPTURE"},{"type":"string","enum":["PROPOSAL"],"title":"PROPOSAL"},{"type":"string","enum":["CONTRACT"],"title":"CONTRACT"},{"type":"string","enum":["PRICER"],"title":"PRICER"},{"type":"string","enum":["DISCOVER"],"title":"DISCOVER"},{"type":"string","enum":["DISCOVER_PRIVATE"],"title":"DISCOVER_PRIVATE"},{"type":"string","enum":["DOCUMENT_GENERATION"],"title":"DOCUMENT_GENERATION"},{"type":"string","enum":["TASKS"],"title":"TASKS"},{"type":"string","enum":["GMAIL"],"title":"GMAIL"},{"type":"string","enum":["DRIVE"],"title":"DRIVE"},{"type":"string","enum":["GOOGLE_CALENDAR"],"title":"GOOGLE_CALENDAR"},{"type":"string","enum":["USA_SPENDING"],"title":"USA_SPENDING"},{"type":"string","enum":["REPORTS"],"title":"REPORTS"},{"type":"string","enum":["CALENDAR"],"title":"CALENDAR"},{"type":"string","enum":["CORE"],"title":"CORE"},{"type":"string","enum":["EXTENSION_WEBPAGE"],"title":"EXTENSION_WEBPAGE"},{"type":"string","enum":["HELP_CENTER"],"title":"HELP_CENTER"},{"type":"string","enum":["DEVTOOLS"],"title":"DEVTOOLS"},{"type":"string","enum":["TEAMING_EVAL"],"title":"TEAMING_EVAL"},{"type":"string","enum":["SUGGESTED_PARTNERSHIP"],"title":"SUGGESTED_PARTNERSHIP"},{"type":"string","enum":["SHAREPOINT_FILE_SEARCH"],"title":"SHAREPOINT_FILE_SEARCH"},{"type":"string","enum":["OUTLINE_AGENT"],"title":"OUTLINE_AGENT"},{"type":"string","enum":["ENTITY_EXTRACTION"],"title":"ENTITY_EXTRACTION"}]}},"mcp_connectors":{"type":"array","items":{"type":"string"}},"skills":{"type":"array","items":{"type":"string"}},"child_agent_ids":{"type":"array","items":{"type":"string"}},"web_domain_allowlist":{"type":"array","items":{"type":"string"}},"triggers":{"type":"array","items":{"type":"object","properties":{"type":{"anyOf":[{"type":"string","enum":["OUTLOOK_EMAIL_RECEIVED"],"title":"OUTLOOK_EMAIL_RECEIVED"},{"type":"string","enum":["MANUAL"],"title":"MANUAL"},{"type":"string","enum":["MONITOR"],"title":"MONITOR"},{"type":"string","enum":["SCHEDULE"],"title":"SCHEDULE"},{"type":"string","enum":["OPPORTUNITY_CREATED"],"title":"OPPORTUNITY_CREATED"},{"type":"string","enum":["OPPORTUNITY_STAGE_CHANGED"],"title":"OPPORTUNITY_STAGE_CHANGED"},{"type":"string","enum":["PROPOSAL_CREATED"],"title":"PROPOSAL_CREATED"},{"type":"string","enum":["DOCUMENT_UPLOADED"],"title":"DOCUMENT_UPLOADED"},{"type":"string","enum":["OPPORTUNITY_DOCUMENT_UPLOADED"],"title":"OPPORTUNITY_DOCUMENT_UPLOADED"},{"type":"string","enum":["PROPOSAL_SOLICITATION_DOCUMENT_ADDED"],"title":"PROPOSAL_SOLICITATION_DOCUMENT_ADDED"},{"type":"string","enum":["CONTRACT_DOCUMENT_UPLOADED"],"title":"CONTRACT_DOCUMENT_UPLOADED"},{"type":"string","enum":["CONTRACT_AWARDED"],"title":"CONTRACT_AWARDED"}]},"enabled":{"type":"boolean"},"cron_expression":{"type":"string","minLength":1},"timezone":{"type":"string","minLength":1},"mailbox":{"type":"object","properties":{"account_id":{"type":"string","minLength":1},"tenant_id":{"type":"string","minLength":1}},"required":["account_id","tenant_id"],"additionalProperties":false}},"required":["type"],"additionalProperties":false},"description":"Full replacement trigger set. An empty array removes all triggers and their schedules. SCHEDULE requires cron_expression and timezone."},"subscriber_ids":{"type":"array","items":{"type":"string"}},"avatar_id":{"type":"string"},"chat_delivery_destinations":{"type":"array","items":{"type":"object","properties":{"provider":{"anyOf":[{"type":"string","enum":["SLACK"],"title":"SLACK"},{"type":"string","enum":["GOV_SLACK"],"title":"GOV_SLACK"},{"type":"string","enum":["TEAMS"],"title":"TEAMS"},{"type":"string","enum":["TEAMS_GCC_HIGH"],"title":"TEAMS_GCC_HIGH"}]},"destination":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["channel"]},"channel_id":{"type":"string","minLength":1}},"required":["type","channel_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["user"]},"user_id":{"type":"string","minLength":1}},"required":["type","user_id"],"additionalProperties":false}]}},"required":["provider","destination"],"additionalProperties":false}},"chat_delivery_email":{"type":"boolean"}},"required":["name","goal_prompt","visibility","run_as_user_id","tool_bundles"],"additionalProperties":false},"AgentConnection":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/AgentEdge"},"description":"The objects on this page, in list order."},"pageInfo":{"$ref":"#/components/schemas/PageInfo"}},"required":["edges","pageInfo"],"additionalProperties":false,"description":"One page of a list."},"AgentEdge":{"type":"object","properties":{"node":{"$ref":"#/components/schemas/AgentEncoded"},"cursor":{"type":"string","description":"Pass as `cursor` to fetch the objects after this one."}},"required":["node","cursor"],"additionalProperties":false,"description":"One object in the list and its cursor."}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"security":[],"tags":[{"name":"Agents","description":"Agent definitions owned by the authenticated team."},{"name":"Agent runs","description":"Start, monitor, and cancel agent runs."},{"name":"Opportunities","description":"Opportunities the authenticated team is tracking."},{"name":"Contracts","description":"Contract awards the authenticated team tracks."},{"name":"Documents","description":"Documents in the authenticated team's Data Library."},{"name":"Agencies","description":"Agencies in the authenticated team's Data Library."},{"name":"Companies","description":"Companies in the authenticated team's Data Library."},{"name":"People","description":"People in the authenticated team's Data Library."},{"name":"Metadata","description":"Allowed values for opportunity fields: the team's phases and its custom field definitions."},{"name":"System","description":"Liveness and service metadata."},{"name":"OAuth","description":"Discovery metadata for OAuth clients."}]}