get https://api.copy.ai/api/workflow//run/
You can view the details of all workflow runs for a workflow via the API.
To view all workflow runs, send a GET request to https://api.copy.ai/api/workflow/<workflow_id>/run
.
You will receive a response with the details for all runs for that workflow.
For example:
{
"status": "success",
"data":
{
"total": 2,
"data":
[
{
"status": "COMPLETE",
"input":
{
"Input 1": "Inputs vary depending on the workflow used.",
"Input 2": "The best way to see an example is to try it!"
},
"output":
{
"Output 1": "Outputs vary depending on the workflow used.",
"Output 2": "The best way to see an example is to try it!"
},
"metadata":
{
"api": true
},
"createdAt": "2023-04-29T15:08:01.326Z",
"id": "<run_id>",
"credits": 2
},
{
"status": "COMPLETE",
"input":
{
"Input 1": "Inputs vary depending on the workflow used.",
"Input 2": "The best way to see an example is to try it!"
},
"output":
{
"Output 1": "Outputs vary depending on the workflow used.",
"Output 2": "The best way to see an example is to try it!"
},
"metadata": null,
"createdAt": "2023-04-29T15:08:01.326Z",
"id": "<run_id>",
"credits": 2
}
]
}
}