The finished file of a large run’s export
GET
/v1/run-exports/{id}
const url = 'https://beta-api.plune.ai/v1/run-exports/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/run-exports/example \ --header 'Authorization: Bearer <token>'The file GET /v1/runs/{id}/export promised with its 202 (#1265), by the fileId it gave. Kept 24 hours after it is ready; then 410. Another project’s id and an invented one are the same 404. The project’s owner only.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”The file, as an attachment
string format: binary
string format: binary
Headers
Section titled “Headers ” Content-Disposition
string
No / invalid token or session
Not the project’s owner (project owner only)
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}No such file in your projects
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}The job has not finished building it
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Its 24 hours are over: export the run again
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Rate limit exceeded