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>", "folderId": "<string>", "status": "ENABLED", "publishedVersionId": "<string>", "metadata": {}, "version": { "id": "<string>", "created": "<string>", "updated": "<string>", "flowId": "<string>", "displayName": "<string>", "trigger": { "name": "<string>", "valid": true, "displayName": "<string>", "nextAction": "<any>", "type": "PIECE_TRIGGER", "settings": { "sampleData": { "sampleDataFileId": "<string>", "sampleDataInputFileId": "<string>", "lastTestDate": "<string>" }, "propertySettings": {}, "customLogoUrl": "<string>", "pieceName": "<string>", "pieceVersion": "<string>", "triggerName": "<string>", "input": {} } }, "updatedBy": "<string>", "valid": true, "schemaVersion": "<string>", "agentIds": [ "<string>" ], "state": "LOCKED", "connectionIds": [ "<string>" ] }, "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
Show child attributes