{ "opencollection": "1.0.0", "info": { "name": "Astro Platform AgentToken Organization API", "version": "v1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Organization", "type": "folder" }, "items": [ { "info": { "name": "List Organizations", "type": "http" }, "http": { "method": "GET", "url": "https://api.astronomer.io/v1/organizations", "params": [ { "name": "productPlan", "value": "", "type": "query", "description": "Filters the Organization list by product plan." }, { "name": "astronomerProduct", "value": "", "type": "query", "description": "filter by astronomer product, should be one of ASTRO" }, { "name": "product", "value": "", "type": "query", "description": "Filters the Organization list by product." }, { "name": "offset", "value": "", "type": "query", "description": "The number of results to skip before returning values." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of results to return." }, { "name": "sorts", "value": "", "type": "query", "description": "A list of field names to sort by, and whether to show results as ascending or descending. Formatted as `:asc` or `:desc`." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List the details about all Organizations that you have access to. Requires using a personal access token (PAT) for authentication." }, { "info": { "name": "Get an Organization", "type": "http" }, "http": { "method": "GET", "url": "https://api.astronomer.io/v1/organizations/:organizationId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The Organization's ID." }, { "name": "isLookUpOnly", "value": "", "type": "query", "description": "Whether to show only Organization metadata." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve information about a specific Organization." }, { "info": { "name": "Update an Organization", "type": "http" }, "http": { "method": "POST", "url": "https://api.astronomer.io/v1/organizations/:organizationId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The Organization's ID." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update an Organization's details." }, { "info": { "name": "Get Organization audit logs", "type": "http" }, "http": { "method": "GET", "url": "https://api.astronomer.io/v1/organizations/:organizationId/audit-logs", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the Organization to retrieve audit logs for." }, { "name": "startDate", "value": "", "type": "query", "description": "The start date of the logs." }, { "name": "endDate", "value": "", "type": "query", "description": "The end date of the logs." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve logs across a specified time period for an Organization." } ] } ], "bundled": true }