Skip to content
GitmoapAPIBeta
Schema

ListAiOrgRevisionsResponse

An organization's revisions, newest first.

Shape

  • itemsarray of AiOrgRevision
    • The AiOrgRevision schema
    • author_kindAiRevisionAuthorpersonagentplatform
    • bodyOrgConfig
      • The OrgConfig schema
      • autonomyAutonomyConfig
        • The AutonomyConfig schema
        • levelAutonomyLevelsupervisedgatedautonomousHow much an organization may do without asking: a named preset for every gate, each of which can still be set on its own.
        • gatesarray of GateOverrideoptional
      • budgetsBudgets
        • The Budgets schema
        • org_monthly_cap_microsinteger · int640–∞All model usage and fees of the organization per calendar month in UTC. Required.
        • agent_daily_cap_microsinteger · int64 or nulloptional0–∞
        • session_cap_microsinteger · int64 or nulloptional0–∞
      • structureOrgStructure
        • The OrgStructure schema
        • levelStructureLevelL1L2L3The organization's shape: L1 is engineers in one squad, L2 adds squads each led by a product owner, L3 adds a director across the squads.
        • boardarray of UserId (string · uuid)optionalBesides the root group's Owners, who are always on it.
      • agentsarray of AgentConfigoptional
        • The AgentConfig schema
        • display_nameAgentDisplayName (string)
        • handleAgentHandle (string)
        • keyAgentKey (string)
        • positionPositionengineerreviewerproduct_ownerdirectorrelease_managertechnical_writerAn agent's job, which decides what it may do and which model tier it uses by default.
        • squadSquadKey (string)
        • profileAgentProfileoptional
        • specialisationSpecialisationbackendfrontendinfrastructurecli_and_toolingqualityor nulloptionalAn engineer's specialisation, which shapes the work it is given.
        • wip_limitinteger · int32 or nulloptional0–∞
      • modelsarray of PositionRoutingoptionalPinned.
        • The PositionRouting schema
        • positionPositionengineerreviewerproduct_ownerdirectorrelease_managertechnical_writerAn agent's job, which decides what it may do and which model tier it uses by default.
        • tierAiModelTiermost_capablestandardeconomicalA model tier: the most capable, the standard, or the economical model in the organization's region.
        • modelAiModelKey (string) or nulloptionalAn exact model, which stays exact until the provider retires it.
      • pipelinesPipelinePolicyoptionalOrdered.
        • The PipelinePolicy schema
        • agent_codeAgentCodeTrustuntrustedtrustedoptionalWhether a run of code an agent wrote, or a run an agent started, gets the repository's connections, secrets, cloud roles and build cache.
      • squadsarray of SquadConfigoptional
        • The SquadConfig schema
        • keySquadKey (string)
        • leadAgentKey (string)
        • nameSquadName (string)
        • repositoriesarray of RepositoryId (string · uuid)optional
      • trackerTrackerConfigoptional
      • triggersTriggerAllowListoptional
    • body_digeststringHex SHA-256 of the canonical body; two revisions with one digest are one configuration.
    • created_atstring · date-time
    • created_byActorSummary
    • numberinteger · int64
    • org_idAiOrgId (string · uuid)
    • revision_idAiOrgRevisionId (string · uuid)
    • stateAiRevisionStatedraftproposedpublishedsupersededdeclined
    • updated_atstring · date-time
    • parent_numberinteger · int64 or nulloptionalThe revision this one was edited from.
    • published_atstring · date-time or nulloptional
    • published_byActorSummary or nulloptional
  • next_tokenstring or nulloptional

Example

Synthesized example
{
"items": [
{
"author_kind": "person",
"body": {
"autonomy": {
"level": "supervised"
},
"budgets": {
"org_monthly_cap_micros": 33
},
"structure": {
"level": "L1"
}
},
"body_digest": "body-digest-ee49",
"created_at": "2026-10-16T19:51:11Z",
"created_by": {
"email": "lin@acme.example",
"id": "id-9302",
"username": "mara"
},
"number": 17,
"org_id": "23865562-5f59-4d18-93cb-7d7ebbbedd3a",
"revision_id": "81bc90ae-8d3b-46cb-8ba7-800d81d0234d",
"state": "draft",
"updated_at": "2026-10-12T00:43:01Z"
}
],
"next_token": "next-token-7135"
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.