{ "opencollection": "1.0.0", "info": { "name": "Cribl As Code API Credentials Search Jobs API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Search Jobs", "type": "folder" }, "items": [ { "info": { "name": "List all search jobs", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.cribl.cloud/search/jobs", "params": [ { "name": "status", "value": "", "type": "query", "description": "Filter jobs by status" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of jobs to return" } ] }, "docs": "Retrieves a list of all running and completed search jobs including their query, status, and result metrics." }, { "info": { "name": "Execute a new search query", "type": "http" }, "http": { "method": "POST", "url": "https://gateway.cribl.cloud/search/jobs", "body": { "type": "json", "data": "{}" } }, "docs": "Creates and executes a new search job with the specified query and parameters. The search runs asynchronously and results can be retrieved when the job completes. Supports Cribl Search query language for filtering, aggregating, and transforming results across federated data sources." }, { "info": { "name": "Get a search job by ID", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.cribl.cloud/search/jobs/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ] }, "docs": "Retrieves the status, progress, and metadata of a specific search job. When the job is complete, includes result summary information." }, { "info": { "name": "Cancel a search job", "type": "http" }, "http": { "method": "DELETE", "url": "https://gateway.cribl.cloud/search/jobs/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ] }, "docs": "Cancels a running search job. Completed or already cancelled jobs cannot be cancelled." }, { "info": { "name": "Get search job results", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.cribl.cloud/search/jobs/:id/results", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" }, { "name": "offset", "value": "", "type": "query", "description": "The offset for pagination" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return" } ] }, "docs": "Retrieves the results of a completed search job. Results are returned as an array of events matching the search query with support for pagination." } ] } ], "bundled": true }