cURL
curl --request GET \ --url https://x8ki-letl-twmt.n7.xano.io/api:meta/workspace/{workspace_id}/function/{function_id} \ --header 'Authorization: Bearer <token>'
{ "id": 1, "created_at": "2023-04-19 21:01:32+0000", "updated_at": "2023-04-19 21:01:32+0000", "name": "Function Test", "description": "My functions description", "docs": "Documentation", "guid": "YE1fwVhQ-enRlc6Sb42Gqru58-0", "branch": "v1", "cache": { "active": true, "ttl": 3600, "input": true, "auth": true, "datasource": true, "ip": true, "headers": [ "" ], "env": [ "" ] }, "tag": [ "example tag" ], "xanoscript": { "status": "ok", "value": "<string>", "message": "<string>" } }
Retrieve a specific function by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success!
Show child attributes
ok
error
Was this page helpful?