Skip to main content
Workers

Refresh Config Metadata

Fetch and store fresh metadata for a serverless worker configuration.

The endpoint refreshes the first serverless configuration it finds across datacenters. It fails when the worker name has no serverless configuration.

POST https://api.rivet.dev/runner-configs/{runner_name}/refresh-metadata

Examples

Authentication

Send your namespace token as a bearer token in the Authorization header. Every control plane request also requires the namespace query parameter. See Authentication.

Path Parameters

NameTypeRequiredDescription
runner_namestringYesName of the worker pool whose metadata will be refreshed.

Query Parameters

NameTypeRequiredDescription
namespacestringYesName of the namespace to operate in.

Request Body

Content type: application/json.

Send an empty JSON object: {}.

Responses

200

The metadata was refreshed.

{}