Skip to content

Commit

Permalink
Update OpenAPI spec and generate new API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 3, 2025
1 parent bb6450c commit df2f738
Show file tree
Hide file tree
Showing 64 changed files with 2,034 additions and 411 deletions.
176 changes: 176 additions & 0 deletions website/docs/api/archive-dataset.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
---
id: archive-dataset
title: "Archive Dataset"
description: "Archive a dataset"
api: eJylVMtu2zAQ/BVhz0wU+Kibk7RAihYNErc9GEKxljYWE4pkSMqNIfDfiyVlR6n7OPRii+LsY2ZnNULArYdqDdcY0FOAWoCx5DBIo29aqGDpmk7u6HAvoCXfOGkZ8HpdYNEeEZ6awcmwh2o9wiWhI7ccQgfVuo61AEfPA/lwado9VCM0RgfSgR/RWiWbVLt89Jx/BN901CM/BRkUnXR0l7OBgLC3fG02j9Tw2TpmEiR5jpZtypExPjiptxBj7kY6alkE2TL/twSvSVGY84sxh3lrtM+5FxcX/Pc28H5oGvL+YVDFUVEQ/0831/0nX5/Lz0hvjFGE+oT1AVnHTK2n0BkevTVJV4s8OyjRynJR4hDMd9qhKidBSswNpsG7HTmf5j44BRV0IVhflaVCH3qpCOV5S7sTF9060w4NH4qcozgrPqIPn6SiYnkDbJuDq+5Zocxx7q0jTS7JvSQY004gENPDe+N6DFDBh2+rJAUrf/dqyXcv2FsWPlvmaBUBUj+Y+WBmDRbL25vi6+KE1ymkKq5Mb40mHTwIYLkydHF+wUVY8x6TFTT2s/kXf9jA2QL9dhknVQK9hNIqlJqrpOGM02TXgFaCAG7/OF0uc8xxmHAtoGNPVGsYxw16+uJUjPz6eSDH+14L2KGTuGGF1nUU0BG25JIlnmgPFVzlds9W3BjD1cANnixDFIeIZdOQDX/F1jPb3n6+X/G4p+9Lb1qOcfgDRPqtAPgjx9HJRendCAr1dsAtY3NONge+9dYvXkqspivU+1mH45gRK/NEOkYQE5XAZ4i8aj8BQS3hmw==
sidebar_class_name: "post api-method"
info_path: api/lastmile-ai-api-v-2
custom_edit_url: null
show_extensions: true
---

import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Archive Dataset"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/api/2/auto_eval/dataset/archive"}
context={"endpoint"}
>

</MethodEndpoint>



Archive a dataset

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>

<MimeTabs
className={"openapi-tabs__mime"}
>
<TabItem
label={"application/json"}
value={"application/json-schema"}
>
<details
style={{}}
className={"openapi-markdown__details mime"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-mime"}
>
<h3
className={"openapi-markdown__details-summary-header-body"}
>
Body
</h3>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>

</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"id"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>

</SchemaItem>
</ul>
</details>
</TabItem>
</MimeTabs><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>


Successful operation


</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>

</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"success"}
required={true}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean"}}
>

</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"success\": true\n}"}
language={"json"}
>

</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>
22 changes: 11 additions & 11 deletions website/docs/api/clone-dataset.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: clone-dataset
title: "Clone Dataset"
description: "Clone a dataset into a new dataset containing the latest file contents"
api: eJy9V0tz2zYQ/isYnGkr4yNvjpNM1UlTj+20B1uTWZErCTYIIMDSsqrhf+8sQEoUKT/SNr1oKO578e3yw1YSLIPMb+UHIAhIcpZJ69ADKWumpczlhbYGO2kmSwyFV47FnVCAKJNcKENWgDC43r0qrCFQRpmloBUKDYSBxEJpjCI0FGQmAxa1V7SR+e1Wvkfw6M9rWsn8dtbMMunxe42B3ttyI/OtbA35EZzTqojpTu4DJ7WVoVhhBfxEijQOirhKvmQmaeNYaOf3WPB/57l0UhjYti2Am7DtVAN5ZZajNrSeBVlRcCTZZNJAha9bful1ii1OxXQhjCXhvH1UJZaZWCutRR0wto91hF3E585ujsos70wKXXLsgxivpfBLXYE58QglzDWKnnAQ6PTO/NPserk5b7ndb2nrzQpFq86thbJMUXo9IyubJuFDeSwZyftzmzVNEgZnTUinevbuXTzcg0DXdVFgCItaix34ZfZvYZaivhVnfT/7cXvZVL2xidMPw6Pkkyg8AmF5TsecLKyvgGTO6eEJqSqCunblj5q8bQ4GIIxAWljfzzkTaiF43eCTChROfx7Qj0Wya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3ubYn4F/UUS7BZiVsIjDxnAgOK3nVT1hqkx4idwxSpBsChLLFRwuMRZJVWqUhcXzoMlf9bTZyvYLS3+n4XuFpRL8vy34h3LfelLDhXNQviDkFgquz056NEyWWe4SyHJZRup0zWGPLPTmSo9Q1pkiRbJvS3C4ETXliMro0rzyLcISLyAKPWUmQHKSsXW1ERGmwgWSgbVsDntgbUR674XjH0J3fYLZjR27GePIQLHruuPmw9tV96x6aqatI1NmRUosKAsxycAxDBFhihNvgV2IPNQMpX0dIU74rMVsd6H37udtFWY/0m8jmoFbaFxPc+1XuZzhskhbLBetyxYrnJ7AkslWydcKaxnumWYJxvo1szCSxnThXG7jVksy6zIhgYlzDsu9IN8ZzQM0SJBBzkifWfcRB4d2j+KWWi2xQ1wMQrLWV9lnHKFKtMVfozGd+ks0Kn/cVG36w6fEOwIXjvvdBtwN1bSxo+7QGSbuY2h9Pq4tYrURS+BsU1tFam8k7bse+eNyT+L+lZh0dJZrVS736PFw9fL8wmeqti5jfmQvjQ0fEo58Zqgt/P/eF4cyFthMWrlkQvnxCSGxKdH0QFkuaETxxc+IQtuerQyoGkd0gSiMH+hmM2UWRkZut3j8rQCDnzTGEV0yI3Dt8F80IroAxsF4GD7CGt8VLDsre7bvgVijmnvnNqo42mkKuTt5d1xLlLvbYYIQKz+hZJojj2ErGvm/McUakYfiF2/CGXYbNS+wOMU0yERAspd4buDXv6qaz9W6ZuFmE24k+hHUdkuj8ikO/6dbTO6/AAErWTI=
sidebar_class_name: "post api-method"
info_path: api/lastmile-ai-api-v-2
custom_edit_url: null
Expand Down Expand Up @@ -290,9 +290,9 @@ Clone a dataset into a new dataset containing the latest file contents
collapsible={false}
name={"initializationStatus"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
schemaName={"JobStatus (string)"}
qualifierMessage={"**Possible values:** [`JOB_STATUS_UNSPECIFIED`, `JOB_STATUS_QUEUED`, `JOB_STATUS_RUNNING`, `JOB_STATUS_COMPLETED`, `JOB_STATUS_CANCELLED`, `JOB_STATUS_FAILED`]"}
schema={{"type":"string","enum":["JOB_STATUS_UNSPECIFIED","JOB_STATUS_QUEUED","JOB_STATUS_RUNNING","JOB_STATUS_COMPLETED","JOB_STATUS_CANCELLED","JOB_STATUS_FAILED"],"title":"JobStatus"}}
>

</SchemaItem><SchemaItem
Expand Down Expand Up @@ -394,9 +394,9 @@ Clone a dataset into a new dataset containing the latest file contents
collapsible={false}
name={"dtype"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
schemaName={"DatasetColumnDType (string)"}
qualifierMessage={"**Possible values:** [`DATASET_COLUMN_D_TYPE_UNSPECIFIED`, `DATASET_COLUMN_D_TYPE_INT32`, `DATASET_COLUMN_D_TYPE_INT64`, `DATASET_COLUMN_D_TYPE_FLOAT32`, `DATASET_COLUMN_D_TYPE_FLOAT64`, `DATASET_COLUMN_D_TYPE_STRING`, `DATASET_COLUMN_D_TYPE_BYTES`, `DATASET_COLUMN_D_TYPE_ANY`]"}
schema={{"type":"string","enum":["DATASET_COLUMN_D_TYPE_UNSPECIFIED","DATASET_COLUMN_D_TYPE_INT32","DATASET_COLUMN_D_TYPE_INT64","DATASET_COLUMN_D_TYPE_FLOAT32","DATASET_COLUMN_D_TYPE_FLOAT64","DATASET_COLUMN_D_TYPE_STRING","DATASET_COLUMN_D_TYPE_BYTES","DATASET_COLUMN_D_TYPE_ANY"],"title":"DatasetColumnDType","description":"Datatypes for a column in a dataset file. We likely don't need everything\n here, but it's good to be explicit, for example to avoid unknowingly coercing\n int64 values into int32. Encoding for text is UTF_8 unless indicated\n otherwise."}}
>

</SchemaItem><li>
Expand Down Expand Up @@ -447,9 +447,9 @@ Clone a dataset into a new dataset containing the latest file contents
collapsible={false}
name={"labelingStatus"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"The status of the latest general pseudo-labeling job for the dataset"}}
schemaName={"JobStatus (string)"}
qualifierMessage={"**Possible values:** [`JOB_STATUS_UNSPECIFIED`, `JOB_STATUS_QUEUED`, `JOB_STATUS_RUNNING`, `JOB_STATUS_COMPLETED`, `JOB_STATUS_CANCELLED`, `JOB_STATUS_FAILED`]"}
schema={{"type":"string","enum":["JOB_STATUS_UNSPECIFIED","JOB_STATUS_QUEUED","JOB_STATUS_RUNNING","JOB_STATUS_COMPLETED","JOB_STATUS_CANCELLED","JOB_STATUS_FAILED"],"title":"JobStatus","description":"The status of the latest general pseudo-labeling job for the dataset"}}
>

</SchemaItem><SchemaItem
Expand Down Expand Up @@ -484,7 +484,7 @@ Clone a dataset into a new dataset containing the latest file contents
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"dataset\": {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerUserId\": \"string\",\n \"numRows\": 0,\n \"numCols\": 0,\n \"initializationStatus\": \"string\",\n \"initializationError\": \"string\",\n \"columns\": [\n {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"index\": 0,\n \"literalName\": \"string\",\n \"dtype\": \"string\"\n }\n ],\n \"labelState\": {\n \"labelingStatus\": \"string\",\n \"promptTemplate\": \"string\",\n \"error\": \"string\"\n }\n }\n}"}
responseExample={"{\n \"dataset\": {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerUserId\": \"string\",\n \"numRows\": 0,\n \"numCols\": 0,\n \"initializationStatus\": \"JOB_STATUS_UNSPECIFIED\",\n \"initializationError\": \"string\",\n \"columns\": [\n {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"index\": 0,\n \"literalName\": \"string\",\n \"dtype\": \"DATASET_COLUMN_D_TYPE_UNSPECIFIED\"\n }\n ],\n \"labelState\": {\n \"labelingStatus\": \"JOB_STATUS_UNSPECIFIED\",\n \"promptTemplate\": \"string\",\n \"error\": \"string\"\n }\n }\n}"}
language={"json"}
>

Expand Down
Loading

0 comments on commit df2f738

Please sign in to comment.