{ "opencollection": "1.0.0", "info": { "name": "Replicate Accounts Training API", "version": "1.0.0-a1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Training", "type": "folder" }, "items": [ { "info": { "name": "Get a Training", "type": "http" }, "http": { "method": "GET", "url": "https://api.replicate.com/v1/trainings/:training_id", "params": [ { "name": "training_id", "value": "", "type": "path", "description": "The ID of the training to get.\n" } ] }, "docs": "Get the current state of a training.\n\nExample cURL request:\n\n```console\ncurl -s \\\n -H \"Authorization: Bearer $REPLICATE_API_TOKEN\" \\\n https://api.replicate.com/v1/trainings/zz4ibbonubfz7carwiefibzgga\n```\n\nThe response will be the training object:\n\n```json\n{\n \"completed_at\": \"2023-09-08T16:41:19.826523Z\",\n \"created_at\": \"2023-09-08T16:32:57.018467Z\",\n \"error\": null,\n \"id\": \"zz4ibbonubfz7carwiefibzgga\",\n \"input\": {\n \"input_images\": \"https://example.com/my-input-images.zip\"\n },\n \"logs\":" }, { "info": { "name": "Cancel a Training", "type": "http" }, "http": { "method": "POST", "url": "https://api.replicate.com/v1/trainings/:training_id/cancel", "params": [ { "name": "training_id", "value": "", "type": "path", "description": "The ID of the training you want to cancel.\n" } ] }, "docs": "Cancel a Training" } ] } ], "bundled": true }