sparkcrawlDocs

Download a ready, unexpired artifact authorized for this job

Requires PostgreSQL and an artifact store; otherwise returns 503 artifact_disabled. Local downloads require the same API authentication and expire with the artifact; optional S3 URLs are signed for 60 seconds. GET with download=1 streams local bytes.

GET
/api/v1/artifacts

Requires PostgreSQL and an artifact store; otherwise returns 503 artifact_disabled. Local downloads require the same API authentication and expire with the artifact; optional S3 URLs are signed for 60 seconds. GET with download=1 streams local bytes.

Authorization

bearerAuth
headerAuthorizationBearer <sc_live_<43 characters>>

Organization API key created at /app/api. Scopes: scrape, crawl, search, research. The secret is shown once.

Query Parameters

key*string
Lengthlength <= 1024
download?"1"
Value in"1"

Response Body

Download metadata, or local bytes when download=1

application/json
  1. response
downloadUrl*string
Formaturi
expiresInSeconds*integer
Range0 <= value
requiresAuthorization*boolean
Example Request
curl -X GET 'https://sparkcrawl.com/api/v1/artifacts?key=string'
Example Response
{  "downloadUrl": "http://example.com",  "expiresInSeconds": 0,  "requiresAuthorization": true}