List Harvests
List your harvest jobs, newest first, a page at a time: those of each of your API keys, and never another User's. Each job has its id, model, status, prompts, layers, tokens and times. limit takes 1 to 100 jobs, 20 by default. For the next page, send after with the page's last_id while has_more is true.
bearerAuthorizationBearer <token>An API key: Authorization: Bearer sk-acs-..., or a key of the old platform, acs-bm-.... A User makes and revokes keys in the App.
limit?stringafter?string^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$uuidHarvestList
application/json- response
object*"list""list"data*array<>Your harvest jobs, newest first, each as GET /v1/harvest/{job_id} answers it but without result and urls_expire_at. Read a done job by its job_id for the links to its files.
has_more*booleantrue when you have older harvest jobs: list them with after set to last_id.
last_id*|The job_id of the page's last job, its oldest. null when the page is empty.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$uuidcurl -X GET 'https://api.infra.acsresearch.org/v1/harvest' \ -H 'Authorization: Bearer <API_KEY>'{ "object": "list", "data": [ { "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec", "status": "pending", "model": "string", "n_prompts": 0, "reserved_tokens": 0, "layers": [ 0 ], "tokens": 0, "created_at": "string", "started_at": "string", "completed_at": "string", "files_expire_at": "string", "files_expired": true, "result": { "n_shards": 0, "layer_indices": [ 0 ], "manifest_url": "string", "shard_urls": [ "string" ], "stats_url": "string", "contents": "activations", "tokens": 0, "bytes_written": 0, "timings": { "load_s": 0, "forward_s": 0, "save_s": 0, "upload_s": 0 } }, "urls_expire_at": "string", "error": "string" } ], "has_more": true, "last_id": "3f0e1159-52f9-4f13-a146-e84e24b01f77"}Cancel Completion Job POST
Cancel a queued or running job, and answer the job. A running job stops its Inference request. A job that ended stays as it is, and the answer is the same job.
Create Harvest POST
Queue a harvest job: the residual stream of a Base model at the chosen layers, for each token of up to 4,096 prompts, written as files that you download by the links in its `result`. It holds the prompts' tokens while it runs and is charged the tokens the engine read. Only this route takes a body of up to 50 MiB. Answers the job, `pending`.