Skip to content
Management API Reference

Retrieve a function body

get/v1/projects/{ref}/functions/{function_slug}/body

Retrieves a function body for the specified slug and project.

OAuth scopes

  • edge_functions:read

Path parameters

  • ref
    Required
    string

    Project ref

  • function_slug
    Required
    string

    Function slug

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

1
{}