Skip to content

Names, versions, timestamps. No route ever returns a value.

GET
/v0/projects/{id}/functions/secrets
curl --request GET \
--url https://infra-hyphae.run/v0/projects/example/functions/secrets \
--header 'Authorization: Bearer <token>'
id
required
string
/^prj_[0-9a-f]{16}$/

Secrets of the project (at most 16).

Media typeapplication/json
object
secrets
required
Array<object>

There is deliberately no value field.

object
project
required
string
/^prj_[0-9a-f]{16}$/
name
required
string
/^[A-Z][A-Z0-9_]{0,63}$/
version
required
integer
created_at
required

RFC 3339, UTC.

string format: date-time
updated_at
required

RFC 3339, UTC.

string format: date-time
max
required
integer
Allowed value: 16
Example
{
"max": 16
}

Missing, malformed, duplicate, or unknown credential (authentication_required).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid_request authentication_required authorization_denied not_found conflict payload_too_large not_implemented tenant_not_running tenant_running function_runtime_missing function_timeout function_bad_output function_busy orchestrator_unavailable upstream_unavailable internal
message
required
string
Example
{
"error": {
"code": "invalid_request"
}
}
WWW-Authenticate
string
Allowed value: Bearer realm="hyphae-cloud"

Unknown route, or a project the caller does not own (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid_request authentication_required authorization_denied not_found conflict payload_too_large not_implemented tenant_not_running tenant_running function_runtime_missing function_timeout function_bad_output function_busy orchestrator_unavailable upstream_unavailable internal
message
required
string
Example
{
"error": {
"code": "invalid_request"
}
}