{
  "_type": "export",
  "__export_format": 4,
  "__export_source": "axiom-docs-generator",
  "resources": [
    {
      "_id": "wrk_axiom_api_0_1_1",
      "_type": "workspace",
      "name": "Axiom API 0.1.1 - Bootstrap And Tenant Context",
      "description": "Generated from the public Axiom OpenAPI 0.1.1 contract. Use issued credentials and server-minted tenant context for admitted calls.",
      "scope": "collection"
    },
    {
      "_id": "env_axiom_api_0_1_1",
      "_type": "environment",
      "parentId": "wrk_axiom_api_0_1_1",
      "name": "Base Environment",
      "data": {
        "base_url": "https://api.afr-dev.axiom.express",
        "access_token": "replace-with-issued-access-token",
        "tenant_id": "replace-with-admitted-tenant-id-from-list-tenants",
        "tenant_context": "replace-with-server-minted-tenant-context",
        "correlation_id": "axiom-example-correlation-id",
        "example_profile": "canonical-five-acts"
      }
    },
    {
      "_id": "fld_identity",
      "_type": "request_group",
      "parentId": "wrk_axiom_api_0_1_1",
      "name": "Identity"
    },
    {
      "_id": "req_axiom_0",
      "_type": "request",
      "parentId": "fld_identity",
      "name": "List admitted tenants",
      "description": "Returns the tenants admitted for the authenticated actor. Use the returned tenant selection data to request a server-minted tenant context.",
      "method": "GET",
      "url": "{{ _.base_url }}/v1/me/tenants",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{access_token}}"
        },
        {
          "name": "X-Correlation-ID",
          "value": "{{correlation_id}}"
        }
      ],
      "body": {},
      "parameters": []
    },
    {
      "_id": "req_axiom_1",
      "_type": "request",
      "parentId": "fld_identity",
      "name": "Mint tenant context",
      "description": "Mints a server-authoritative tenant-context token for one admitted tenant. Use that token as the X-Tenant-Context header on tenant-scoped API calls.",
      "method": "POST",
      "url": "{{ _.base_url }}/v1/me/tenant-context",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {{access_token}}"
        },
        {
          "name": "X-Correlation-ID",
          "value": "{{correlation_id}}"
        },
        {
          "name": "Content-Type",
          "value": "application/json"
        }
      ],
      "body": {
        "mimeType": "application/json",
        "text": "{\n  \"tenant_id\": \"{{tenant_id}}\"\n}"
      },
      "parameters": []
    }
  ]
}
