{
  "info": {
    "name": "ControlStandard API v1",
    "description": "Read-only REST API for ControlStandard.Tools.\n\nSet the `apiKey` collection variable to your `cs_live_...` key, then run any request.\n\nDocs: https://api.controlstandard.tools/v1/docs",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_postman_id": "cs-tools-v1-collection"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      { "key": "token", "value": "{{apiKey}}", "type": "string" }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.controlstandard.tools/v1",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "cs_live_replace_me",
      "type": "string",
      "description": "Your API key. Issue one from Organisation \u2192 API keys (Business plan or higher)."
    },
    {
      "key": "projectShortId",
      "value": "p_replace_me",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Identity & meta",
      "item": [
        {
          "name": "GET /me",
          "request": {
            "method": "GET",
            "url": { "raw": "{{baseUrl}}/me", "host": ["{{baseUrl}}"], "path": ["me"] },
            "description": "Identify the calling key and the organisation it belongs to."
          }
        },
        {
          "name": "GET /usage",
          "request": {
            "method": "GET",
            "url": { "raw": "{{baseUrl}}/usage", "host": ["{{baseUrl}}"], "path": ["usage"] },
            "description": "Configured rate-limit windows for this key."
          }
        },
        {
          "name": "GET /disciplines",
          "request": {
            "method": "GET",
            "url": { "raw": "{{baseUrl}}/disciplines", "host": ["{{baseUrl}}"], "path": ["disciplines"] },
            "description": "The 10 control disciplines and the 5-level rubric. Static reference \u2014 cache it."
          }
        }
      ]
    },
    {
      "name": "Users",
      "item": [
        {
          "name": "GET /users",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/users?limit=100",
              "host": ["{{baseUrl}}"],
              "path": ["users"],
              "query": [
                { "key": "include_archived", "value": "false", "disabled": true },
                { "key": "limit", "value": "100" },
                { "key": "cursor", "value": "", "disabled": true }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Training",
      "item": [
        {
          "name": "GET /training",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/training?limit=100",
              "host": ["{{baseUrl}}"],
              "path": ["training"],
              "query": [
                { "key": "user_short_id", "value": "", "disabled": true },
                { "key": "chapter_slug", "value": "", "disabled": true },
                { "key": "limit", "value": "100" },
                { "key": "cursor", "value": "", "disabled": true }
              ]
            }
          }
        },
        {
          "name": "GET /training/chapters",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/training/chapters",
              "host": ["{{baseUrl}}"],
              "path": ["training", "chapters"]
            }
          }
        }
      ]
    },
    {
      "name": "Projects",
      "item": [
        {
          "name": "GET /projects",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/projects?limit=100",
              "host": ["{{baseUrl}}"],
              "path": ["projects"],
              "query": [
                { "key": "status", "value": "active", "disabled": true },
                { "key": "owner_short_id", "value": "", "disabled": true },
                { "key": "dri_short_id", "value": "", "disabled": true },
                { "key": "limit", "value": "100" },
                { "key": "cursor", "value": "", "disabled": true }
              ]
            }
          }
        },
        {
          "name": "GET /projects/{short_id}",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/projects/{{projectShortId}}",
              "host": ["{{baseUrl}}"],
              "path": ["projects", "{{projectShortId}}"]
            }
          }
        },
        {
          "name": "GET /projects/{short_id}/check-ins",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/projects/{{projectShortId}}/check-ins?limit=100",
              "host": ["{{baseUrl}}"],
              "path": ["projects", "{{projectShortId}}", "check-ins"],
              "query": [
                { "key": "from", "value": "2026-01-01", "disabled": true },
                { "key": "to", "value": "", "disabled": true },
                { "key": "limit", "value": "100" },
                { "key": "cursor", "value": "", "disabled": true }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Check-ins",
      "item": [
        {
          "name": "GET /check-ins",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/check-ins?from=2026-01-01&limit=200",
              "host": ["{{baseUrl}}"],
              "path": ["check-ins"],
              "query": [
                { "key": "from", "value": "2026-01-01" },
                { "key": "to", "value": "", "disabled": true },
                { "key": "project_short_id", "value": "", "disabled": true },
                { "key": "owner_short_id", "value": "", "disabled": true },
                { "key": "limit", "value": "200" },
                { "key": "cursor", "value": "", "disabled": true }
              ]
            },
            "description": "Cross-project check-in feed \u2014 primary endpoint for graph reproduction."
          }
        }
      ]
    },
    {
      "name": "Control points",
      "item": [
        {
          "name": "GET /control-points",
          "request": {
            "method": "GET",
            "url": {
              "raw": "{{baseUrl}}/control-points?limit=100",
              "host": ["{{baseUrl}}"],
              "path": ["control-points"],
              "query": [
                { "key": "status", "value": "open", "disabled": true },
                { "key": "project_short_id", "value": "", "disabled": true },
                { "key": "owner_short_id", "value": "", "disabled": true },
                { "key": "limit", "value": "100" },
                { "key": "cursor", "value": "", "disabled": true }
              ]
            }
          }
        }
      ]
    }
  ]
}
