Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,850 changes: 1,516 additions & 334 deletions openapi/seclai.openapi.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx

Expand All @@ -16,7 +17,7 @@ def _get_kwargs(
agent_id: str,
*,
body: CreateEvaluationCriteriaRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> dict[str, Any]:
headers: dict[str, Any] = {}
if not isinstance(x_account_id, Unset):
Expand Down Expand Up @@ -72,7 +73,7 @@ def sync_detailed(
*,
client: AuthenticatedClient | Client,
body: CreateEvaluationCriteriaRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Response[EvaluationCriteriaResponse | HTTPValidationError]:
"""Create Evaluation Criteria

Expand All @@ -83,7 +84,7 @@ def sync_detailed(

Args:
agent_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):
body (CreateEvaluationCriteriaRequest): Request body for creating an evaluation criteria.

The evaluation mode, retry settings, and sample frequency are set at the
Expand Down Expand Up @@ -115,7 +116,7 @@ def sync(
*,
client: AuthenticatedClient | Client,
body: CreateEvaluationCriteriaRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> EvaluationCriteriaResponse | HTTPValidationError | None:
"""Create Evaluation Criteria

Expand All @@ -126,7 +127,7 @@ def sync(

Args:
agent_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):
body (CreateEvaluationCriteriaRequest): Request body for creating an evaluation criteria.

The evaluation mode, retry settings, and sample frequency are set at the
Expand All @@ -153,7 +154,7 @@ async def asyncio_detailed(
*,
client: AuthenticatedClient | Client,
body: CreateEvaluationCriteriaRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Response[EvaluationCriteriaResponse | HTTPValidationError]:
"""Create Evaluation Criteria

Expand All @@ -164,7 +165,7 @@ async def asyncio_detailed(

Args:
agent_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):
body (CreateEvaluationCriteriaRequest): Request body for creating an evaluation criteria.

The evaluation mode, retry settings, and sample frequency are set at the
Expand Down Expand Up @@ -194,7 +195,7 @@ async def asyncio(
*,
client: AuthenticatedClient | Client,
body: CreateEvaluationCriteriaRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> EvaluationCriteriaResponse | HTTPValidationError | None:
"""Create Evaluation Criteria

Expand All @@ -205,7 +206,7 @@ async def asyncio(

Args:
agent_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):
body (CreateEvaluationCriteriaRequest): Request body for creating an evaluation criteria.

The evaluation mode, retry settings, and sample frequency are set at the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx

Expand All @@ -16,7 +17,7 @@ def _get_kwargs(
criteria_id: str,
*,
body: CreateEvaluationResultRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> dict[str, Any]:
headers: dict[str, Any] = {}
if not isinstance(x_account_id, Unset):
Expand Down Expand Up @@ -72,7 +73,7 @@ def sync_detailed(
*,
client: AuthenticatedClient | Client,
body: CreateEvaluationResultRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Response[EvaluationResultResponse | HTTPValidationError]:
"""Create Evaluation Result

Expand All @@ -84,7 +85,7 @@ def sync_detailed(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):
body (CreateEvaluationResultRequest): Request body for recording an evaluation result.

Raises:
Expand Down Expand Up @@ -113,7 +114,7 @@ def sync(
*,
client: AuthenticatedClient | Client,
body: CreateEvaluationResultRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> EvaluationResultResponse | HTTPValidationError | None:
"""Create Evaluation Result

Expand All @@ -125,7 +126,7 @@ def sync(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):
body (CreateEvaluationResultRequest): Request body for recording an evaluation result.

Raises:
Expand All @@ -149,7 +150,7 @@ async def asyncio_detailed(
*,
client: AuthenticatedClient | Client,
body: CreateEvaluationResultRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Response[EvaluationResultResponse | HTTPValidationError]:
"""Create Evaluation Result

Expand All @@ -161,7 +162,7 @@ async def asyncio_detailed(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):
body (CreateEvaluationResultRequest): Request body for recording an evaluation result.

Raises:
Expand All @@ -188,7 +189,7 @@ async def asyncio(
*,
client: AuthenticatedClient | Client,
body: CreateEvaluationResultRequest,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> EvaluationResultResponse | HTTPValidationError | None:
"""Create Evaluation Result

Expand All @@ -200,7 +201,7 @@ async def asyncio(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):
body (CreateEvaluationResultRequest): Request body for recording an evaluation result.

Raises:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from http import HTTPStatus
from typing import Any, cast
from urllib.parse import quote
from uuid import UUID

import httpx

Expand All @@ -13,7 +14,7 @@
def _get_kwargs(
criteria_id: str,
*,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> dict[str, Any]:
headers: dict[str, Any] = {}
if not isinstance(x_account_id, Unset):
Expand Down Expand Up @@ -63,7 +64,7 @@ def sync_detailed(
criteria_id: str,
*,
client: AuthenticatedClient | Client,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Response[Any | HTTPValidationError]:
"""Delete Evaluation Criteria

Expand All @@ -74,7 +75,7 @@ def sync_detailed(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -100,7 +101,7 @@ def sync(
criteria_id: str,
*,
client: AuthenticatedClient | Client,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Any | HTTPValidationError | None:
"""Delete Evaluation Criteria

Expand All @@ -111,7 +112,7 @@ def sync(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -132,7 +133,7 @@ async def asyncio_detailed(
criteria_id: str,
*,
client: AuthenticatedClient | Client,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Response[Any | HTTPValidationError]:
"""Delete Evaluation Criteria

Expand All @@ -143,7 +144,7 @@ async def asyncio_detailed(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -167,7 +168,7 @@ async def asyncio(
criteria_id: str,
*,
client: AuthenticatedClient | Client,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Any | HTTPValidationError | None:
"""Delete Evaluation Criteria

Expand All @@ -178,7 +179,7 @@ async def asyncio(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx

Expand All @@ -14,7 +15,7 @@
def _get_kwargs(
criteria_id: str,
*,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> dict[str, Any]:
headers: dict[str, Any] = {}
if not isinstance(x_account_id, Unset):
Expand Down Expand Up @@ -65,7 +66,7 @@ def sync_detailed(
criteria_id: str,
*,
client: AuthenticatedClient | Client,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Response[EvaluationCriteriaResponse | HTTPValidationError]:
"""Get Evaluation Criteria

Expand All @@ -76,7 +77,7 @@ def sync_detailed(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -102,7 +103,7 @@ def sync(
criteria_id: str,
*,
client: AuthenticatedClient | Client,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> EvaluationCriteriaResponse | HTTPValidationError | None:
"""Get Evaluation Criteria

Expand All @@ -113,7 +114,7 @@ def sync(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -134,7 +135,7 @@ async def asyncio_detailed(
criteria_id: str,
*,
client: AuthenticatedClient | Client,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> Response[EvaluationCriteriaResponse | HTTPValidationError]:
"""Get Evaluation Criteria

Expand All @@ -145,7 +146,7 @@ async def asyncio_detailed(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -169,7 +170,7 @@ async def asyncio(
criteria_id: str,
*,
client: AuthenticatedClient | Client,
x_account_id: str | Unset = UNSET,
x_account_id: UUID | Unset = UNSET,
) -> EvaluationCriteriaResponse | HTTPValidationError | None:
"""Get Evaluation Criteria

Expand All @@ -180,7 +181,7 @@ async def asyncio(

Args:
criteria_id (str):
x_account_id (str | Unset):
x_account_id (UUID | Unset):

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
Loading
Loading