Skip to main content
GET
/
compute
/
functions
/
{collection_topic}
/
{function_topic}
Get a function
curl --request GET \
  --url https://api.quiva.ai/compute/functions/{collection_topic}/{function_topic} \
  --header 'Authorization: Bearer <token>'
{
  "body": {
    "description": "A serverless function",
    "name": "my-function",
    "runtime": "nodejs",
    "subject": "compute.my-namespace.function.123456789",
    "type": "created",
    "modified": 1714378974,
    "compute_asset": {
      "collection_topic": "my-namespace",
      "service": "123456789",
      "runtime": "nodejs",
      "handler": "index.handler",
      "assets": [
        {
          "asset_name": "index.js",
          "asset_type": "file",
          "asset_value": "Y29uc29sZS5sb2coIkhlbGxvLCBXb3JsZCEiKTsK",
          "link": false
        }
      ],
      "timeout": 30000,
      "read_only_fs": true
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_topic
string
required

Collection topic identifier

function_topic
string
required

Function topic identifier

Response

Function details

body
object