{ "info": { "_postman_id": "e5c3d5ba-cd3e-4b79-a7f7-babfda6304e3", "name": "Speakeasy Artifacts Auth API", "description": "The Subscriptions API manages subscriptions for CLI and registry events", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T02:59:33.000Z", "updatedAt": "2026-07-28T02:59:33.000Z", "lastUpdatedBy": "35240", "uid": "35240-e5c3d5ba-cd3e-4b79-a7f7-babfda6304e3" }, "item": [ { "name": "v1", "item": [ { "name": "auth", "item": [ { "name": "validate", "item": [ { "name": "Validate the Current API Key", "id": "81ecfbda-5646-4e33-9900-8fa0c0805a70", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/auth/validate", "host": [ "{{baseUrl}}" ], "path": [ "v1", "auth", "validate" ] } }, "response": [ { "id": "ffe4aa56-0d24-4541-9af9-f441035d60d5", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "x-api-key", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/auth/validate", "host": [ "{{baseUrl}}" ], "path": [ "v1", "auth", "validate" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"workspace_id\": \"\",\n \"account_type_v2\": \"scale-up\",\n \"enabled_features\": [\n \"\",\n \"\"\n ],\n \"workspace_slug\": \"\",\n \"org_slug\": \"\",\n \"workspace_created_at\": \"\",\n \"telemetry_disabled\": \"\",\n \"billing_add_ons\": [\n \"snippet_ai\",\n \"snippet_ai\"\n ],\n \"generation_access_unlimited\": \"\",\n \"feature_flags\": [\n \"\",\n \"\"\n ]\n}", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-ffe4aa56-0d24-4541-9af9-f441035d60d5" }, { "id": "4b1b4d8c-e1da-4e7e-b89a-8c2e07ca93e7", "name": "Default error response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "x-api-key", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/auth/validate", "host": [ "{{baseUrl}}" ], "path": [ "v1", "auth", "validate" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"status_code\": \"\"\n}", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-4b1b4d8c-e1da-4e7e-b89a-8c2e07ca93e7" } ], "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-81ecfbda-5646-4e33-9900-8fa0c0805a70" } ], "id": "9452dfb6-e3d0-4fbd-b070-26e0e011a0b3", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-9452dfb6-e3d0-4fbd-b070-26e0e011a0b3" }, { "name": "access_token", "item": [ { "name": "Get or Refresh an Access Token for the Current Workspace", "id": "13c9456f-5bf3-490b-b004-f9c73b005739", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "noauth" }, "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/auth/access_token?workspace_id=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "auth", "access_token" ], "query": [ { "description": "(Required) The workspace ID", "key": "workspace_id", "value": "" } ] } }, "response": [ { "id": "22d27250-5dc6-410d-9df4-b3c04ba5199a", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/auth/access_token?workspace_id=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "auth", "access_token" ], "query": [ { "description": "(Required) The workspace ID", "key": "workspace_id", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"access_token\": \"\",\n \"claims\": {},\n \"user\": {\n \"email\": \"\",\n \"id\": \"\",\n \"display_name\": \"\",\n \"admin\": \"\",\n \"created_at\": \"\",\n \"email_verified\": \"\"\n },\n \"workspaces\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"updated_at\": \"\",\n \"account_type\": \"scale-up\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"updated_at\": \"\",\n \"account_type\": \"enterprise\"\n }\n ],\n \"feature_flags\": [\n {\n \"feature_flag\": \"webhooks\",\n \"trial_ends_at\": \"\"\n },\n {\n \"feature_flag\": \"schema_registry\",\n \"trial_ends_at\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-22d27250-5dc6-410d-9df4-b3c04ba5199a" }, { "id": "fee46a90-9cb1-4ecf-ad21-757e6ddd2303", "name": "Default error response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/auth/access_token?workspace_id=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "auth", "access_token" ], "query": [ { "description": "(Required) The workspace ID", "key": "workspace_id", "value": "" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"status_code\": \"\"\n}", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-fee46a90-9cb1-4ecf-ad21-757e6ddd2303" } ], "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-13c9456f-5bf3-490b-b004-f9c73b005739" } ], "id": "05d314c6-9c0e-4f8a-bcef-5d3c37d7450a", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-05d314c6-9c0e-4f8a-bcef-5d3c37d7450a" } ], "id": "29b7ba34-6688-4e16-b4fa-4ebfbc6a9463", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-29b7ba34-6688-4e16-b4fa-4ebfbc6a9463" }, { "name": "user", "item": [ { "name": "Get Information About the Current User", "id": "d31320fc-41dc-4e15-aba4-fd37eeb83d4a", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/user", "host": [ "{{baseUrl}}" ], "path": [ "v1", "user" ] } }, "response": [ { "id": "398bdcf7-33d9-4332-9600-680461a14e15", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "x-api-key", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/user", "host": [ "{{baseUrl}}" ], "path": [ "v1", "user" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"email\": \"\",\n \"email_verified\": \"\",\n \"display_name\": \"\",\n \"confirmed\": \"\",\n \"whitelisted\": \"\",\n \"admin\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"github_handle\": \"\",\n \"photo_url\": \"\",\n \"default_workspace_id\": \"\",\n \"last_login_at\": \"\",\n \"internal\": \"\",\n \"pylon_identity_hash\": \"\",\n \"has_created_api_key\": \"\"\n}", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-398bdcf7-33d9-4332-9600-680461a14e15" }, { "id": "255242be-6db6-47c1-a003-d775950e637a", "name": "Default error response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "x-api-key", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/user", "host": [ "{{baseUrl}}" ], "path": [ "v1", "user" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"message\": \"\",\n \"status_code\": \"\"\n}", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-255242be-6db6-47c1-a003-d775950e637a" } ], "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-d31320fc-41dc-4e15-aba4-fd37eeb83d4a" } ], "id": "34ef6e75-52b2-4c74-bb32-d711aa354948", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-34ef6e75-52b2-4c74-bb32-d711aa354948" }, { "name": "workspace", "item": [ { "name": "access", "item": [ { "name": "Get Access Allowances for a Particular Workspace", "id": "15abeb44-17fe-4ce4-8f92-1c953cfa2426", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/workspace/access?genLockId=&targetType=&passive=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "workspace", "access" ], "query": [ { "description": "Unique identifier of the generation target.", "key": "genLockId", "value": "" }, { "description": "The type of the generated target.", "key": "targetType", "value": "" }, { "description": "Skip side-effects like incrementing metrics.", "key": "passive", "value": "" } ] }, "description": "Checks if generation is permitted for a particular run of the CLI" }, "response": [ { "id": "b43798c1-c184-45a2-b84a-07eab5481b3f", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: apikey", "key": "x-api-key", "value": "" } ], "url": { "raw": "{{baseUrl}}/v1/workspace/access?genLockId=&targetType=&passive=", "host": [ "{{baseUrl}}" ], "path": [ "v1", "workspace", "access" ], "query": [ { "description": "Unique identifier of the generation target.", "key": "genLockId", "value": "" }, { "description": "The type of the generated target.", "key": "targetType", "value": "" }, { "description": "Skip side-effects like incrementing metrics.", "key": "passive", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"generation_allowed\": \"\",\n \"message\": \"\",\n \"level\": \"blocked\"\n}", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-b43798c1-c184-45a2-b84a-07eab5481b3f" } ], "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-15abeb44-17fe-4ce4-8f92-1c953cfa2426" } ], "id": "59147022-23dd-4407-b642-ec15d6a44994", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-59147022-23dd-4407-b642-ec15d6a44994" } ], "id": "541f8ae4-3f8c-403f-8962-e760250f4c27", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-541f8ae4-3f8c-403f-8962-e760250f4c27" } ], "id": "ecf08e5c-f37e-489a-924e-2f0e80f7b6c1", "createdAt": "2026-07-28T02:59:34.000Z", "updatedAt": "2026-07-28T02:59:34.000Z", "uid": "35240-ecf08e5c-f37e-489a-924e-2f0e80f7b6c1" } ], "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "x-api-key", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.prod.speakeasy.com" } ] }