Skip to main content

Overview

Guardrails endpoints

Available Operations

List

List all guardrails for the authenticated user. Management key required.

Example Usage

Parameters

Response

*operations.ListGuardrailsResponse, error

Errors

Create

Create a new guardrail for the authenticated user. Management key required.

Example Usage

Parameters

Response

*components.CreateGuardrailResponse, error

Errors

Delete

Delete an existing guardrail. Management key required.

Example Usage

Parameters

Response

*components.DeleteGuardrailResponse, error

Errors

Get

Get a single guardrail by ID. Management key required.

Example Usage

Parameters

Response

*components.GetGuardrailResponse, error

Errors

Update

Update an existing guardrail. Collection fields use replace semantics: send the full desired set on every update. Management key required.

Example Usage

Parameters

Response

*components.UpdateGuardrailResponse, error

Errors

ListGuardrailKeyAssignments

List all API key assignments for a specific guardrail. Management key required.

Example Usage

Parameters

Response

*operations.ListGuardrailKeyAssignmentsResponse, error

Errors

BulkAssignKeys

Assign multiple API keys to a specific guardrail. A key may hold at most one guardrail; assigning replaces any existing assignment. Management key required.

Example Usage

Parameters

Response

*components.BulkAssignKeysResponse, error

Errors

BulkUnassignKeys

Unassign multiple API keys from a specific guardrail. Management key required.

Example Usage

Parameters

Response

*components.BulkUnassignKeysResponse, error

Errors

ListGuardrailMemberAssignments

List all organization member assignments for a specific guardrail. Management key required.

Example Usage

Parameters

Response

*operations.ListGuardrailMemberAssignmentsResponse, error

Errors

BulkAssignMembers

Assign multiple organization members to a specific guardrail. Management key required.

Example Usage

Parameters

Response

*components.BulkAssignMembersResponse, error

Errors

BulkUnassignMembers

Unassign multiple organization members from a specific guardrail. Management key required.

Example Usage

Parameters

Response

*components.BulkUnassignMembersResponse, error

Errors

ListKeyAssignments

List all API key guardrail assignments for the authenticated user. Management key required.

Example Usage

Parameters

Response

*operations.ListKeyAssignmentsResponse, error

Errors

ListMemberAssignments

List all organization member guardrail assignments for the authenticated user. Management key required.

Example Usage

Parameters

Response

*operations.ListMemberAssignmentsResponse, error

Errors