cURL
curl --request GET \ --url https://cloud.activepieces.com/api/v1/flows/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "created": "<string>", "updated": "<string>", "projectId": "<string>", "externalId": "<string>", "status": "ENABLED", "operationStatus": "NONE", "version": { "id": "<string>", "created": "<string>", "updated": "<string>", "flowId": "<string>", "displayName": "<string>", "trigger": { "name": "<string>", "valid": true, "displayName": "<string>", "type": "PIECE_TRIGGER", "settings": { "propertySettings": {}, "pieceName": "<string>", "pieceVersion": "<string>", "input": {}, "sampleData": { "sampleDataFileId": "<string>", "sampleDataInputFileId": "<string>", "lastTestDate": "<string>" }, "customLogoUrl": "<string>", "triggerName": "<string>" }, "nextAction": "<unknown>" }, "valid": true, "agentIds": [ "<string>" ], "state": "LOCKED", "connectionIds": [ "<string>" ], "updatedBy": "<string>", "schemaVersion": "<string>", "backupFiles": {} }, "folderId": "<string>", "publishedVersionId": "<string>", "metadata": {}, "timeSavedPerRun": 123, "triggerSource": { "schedule": { "type": "CRON_EXPRESSION", "cronExpression": "<string>", "timezone": "<string>" } } }
Get a flow by id
Use your api key generated from the admin console
Default Response
ENABLED
NONE
Show child attributes