agents

Start a global AO Codex account switch

post/api/v1/agents/codex/account-switches

Request body

expectedAccountRevisioninteger nullable
idempotencyKeystring required
targetAccountIdstring required

Response

Accepted

completedAtstring date-time nullable
createdAtstring date-time required
credentialsCommittedAtstring date-time nullable
failureCodestring
idstring required
phase'requested' | 'checkpointing_source' | 'activating_target' | 'recovery_required' | 'completed' | 'failed' required
sourceAccountIdstring
sourceKind'managed' | 'device' | 'none' required
targetAccountIdstring required
updatedAtstring date-time required

Changes

Changed in 3 of the 169 revisions of this API.413

  • 7f5cb1f3ca1649See the full diff
    • ▲

      the request property type changed from integer to null integer, and format from int64 to no format

      request-property-type-changed

    • ▲

      the response property became optional for the status

      response-property-became-optional

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ○

      the request property became nullable

      request-property-became-nullable

    • ○

      the request property became optional

      request-property-became-optional

    • ○

      request property deprecated

      request-property-deprecated

    • ○

      removed the restarting_sessions enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the rollback_required enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the sessions_stopped enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the stopping_sessions enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the verifying_target enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      added the required property to the response with the status

      response-required-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      endpoint added

      endpoint-added