{"files":{"SKILL.md":"---\nname: lucidtech-api\ndescription: \"Lucidtech API skill. Use when working with Lucidtech for appClients, assets, datasets. Covers 133 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Lucidtech API\nAPI version: 2024-11-29T08:05:46Z\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://api.lucidtech.ai/v1\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /appClients -- verify access\n3. POST /appClients -- create first appClient\n\n## Endpoints\n133 endpoints across 17 groups. See references/api-spec.lap for full details.\n\n### AppClients\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /appClients |  |\n| OPTIONS | /appClients |  |\n| POST | /appClients |  |\n| DELETE | /appClients/{appClientId} |  |\n| GET | /appClients/{appClientId} |  |\n| OPTIONS | /appClients/{appClientId} |  |\n| PATCH | /appClients/{appClientId} |  |\n\n### Assets\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /assets |  |\n| OPTIONS | /assets |  |\n| POST | /assets |  |\n| DELETE | /assets/{assetId} |  |\n| GET | /assets/{assetId} |  |\n| OPTIONS | /assets/{assetId} |  |\n| PATCH | /assets/{assetId} |  |\n\n### Datasets\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /datasets |  |\n| OPTIONS | /datasets |  |\n| POST | /datasets |  |\n| DELETE | /datasets/{datasetId} |  |\n| GET | /datasets/{datasetId} |  |\n| OPTIONS | /datasets/{datasetId} |  |\n| PATCH | /datasets/{datasetId} |  |\n| GET | /datasets/{datasetId}/transformations |  |\n| OPTIONS | /datasets/{datasetId}/transformations |  |\n| POST | /datasets/{datasetId}/transformations |  |\n| DELETE | /datasets/{datasetId}/transformations/{transformationId} |  |\n| OPTIONS | /datasets/{datasetId}/transformations/{transformationId} |  |\n\n### DeploymentEnvironments\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /deploymentEnvironments |  |\n| OPTIONS | /deploymentEnvironments |  |\n| GET | /deploymentEnvironments/{deploymentEnvironmentId} |  |\n| OPTIONS | /deploymentEnvironments/{deploymentEnvironmentId} |  |\n\n### Documents\n| Method | Path | Description |\n|--------|------|-------------|\n| DELETE | /documents |  |\n| GET | /documents |  |\n| OPTIONS | /documents |  |\n| POST | /documents |  |\n| DELETE | /documents/{documentId} |  |\n| GET | /documents/{documentId} |  |\n| OPTIONS | /documents/{documentId} |  |\n| PATCH | /documents/{documentId} |  |\n\n### Logs\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /logs |  |\n| OPTIONS | /logs |  |\n| GET | /logs/{logId} |  |\n| OPTIONS | /logs/{logId} |  |\n\n### Models\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /models |  |\n| OPTIONS | /models |  |\n| POST | /models |  |\n| DELETE | /models/{modelId} |  |\n| GET | /models/{modelId} |  |\n| OPTIONS | /models/{modelId} |  |\n| PATCH | /models/{modelId} |  |\n| GET | /models/{modelId}/dataBundles |  |\n| OPTIONS | /models/{modelId}/dataBundles |  |\n| POST | /models/{modelId}/dataBundles |  |\n| DELETE | /models/{modelId}/dataBundles/{dataBundleId} |  |\n| GET | /models/{modelId}/dataBundles/{dataBundleId} |  |\n| OPTIONS | /models/{modelId}/dataBundles/{dataBundleId} |  |\n| PATCH | /models/{modelId}/dataBundles/{dataBundleId} |  |\n| GET | /models/{modelId}/trainings |  |\n| OPTIONS | /models/{modelId}/trainings |  |\n| POST | /models/{modelId}/trainings |  |\n| GET | /models/{modelId}/trainings/{trainingId} |  |\n| OPTIONS | /models/{modelId}/trainings/{trainingId} |  |\n| PATCH | /models/{modelId}/trainings/{trainingId} |  |\n\n### Organizations\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /organizations |  |\n| OPTIONS | /organizations |  |\n| POST | /organizations |  |\n| GET | /organizations/{organizationId} |  |\n| OPTIONS | /organizations/{organizationId} |  |\n| PATCH | /organizations/{organizationId} |  |\n\n### PaymentMethods\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /paymentMethods |  |\n| OPTIONS | /paymentMethods |  |\n| POST | /paymentMethods |  |\n| DELETE | /paymentMethods/{paymentMethodId} |  |\n| GET | /paymentMethods/{paymentMethodId} |  |\n| OPTIONS | /paymentMethods/{paymentMethodId} |  |\n| PATCH | /paymentMethods/{paymentMethodId} |  |\n\n### Plans\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /plans |  |\n| OPTIONS | /plans |  |\n| GET | /plans/{planId} |  |\n| OPTIONS | /plans/{planId} |  |\n\n### Predictions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /predictions |  |\n| OPTIONS | /predictions |  |\n| POST | /predictions |  |\n| GET | /predictions/{predictionId} |  |\n| OPTIONS | /predictions/{predictionId} |  |\n\n### Profiles\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /profiles/{profileId} |  |\n| OPTIONS | /profiles/{profileId} |  |\n| PATCH | /profiles/{profileId} |  |\n\n### Roles\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /roles |  |\n| OPTIONS | /roles |  |\n| GET | /roles/{roleId} |  |\n| OPTIONS | /roles/{roleId} |  |\n\n### Secrets\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /secrets |  |\n| OPTIONS | /secrets |  |\n| POST | /secrets |  |\n| DELETE | /secrets/{secretId} |  |\n| OPTIONS | /secrets/{secretId} |  |\n| PATCH | /secrets/{secretId} |  |\n\n### Transitions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /transitions |  |\n| OPTIONS | /transitions |  |\n| POST | /transitions |  |\n| DELETE | /transitions/{transitionId} |  |\n| GET | /transitions/{transitionId} |  |\n| OPTIONS | /transitions/{transitionId} |  |\n| PATCH | /transitions/{transitionId} |  |\n| GET | /transitions/{transitionId}/executions |  |\n| OPTIONS | /transitions/{transitionId}/executions |  |\n| POST | /transitions/{transitionId}/executions |  |\n| GET | /transitions/{transitionId}/executions/{executionId} |  |\n| OPTIONS | /transitions/{transitionId}/executions/{executionId} |  |\n| PATCH | /transitions/{transitionId}/executions/{executionId} |  |\n| OPTIONS | /transitions/{transitionId}/executions/{executionId}/heartbeats |  |\n| POST | /transitions/{transitionId}/executions/{executionId}/heartbeats |  |\n\n### Users\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /users |  |\n| OPTIONS | /users |  |\n| POST | /users |  |\n| DELETE | /users/{userId} |  |\n| GET | /users/{userId} |  |\n| OPTIONS | /users/{userId} |  |\n| PATCH | /users/{userId} |  |\n\n### Workflows\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /workflows |  |\n| OPTIONS | /workflows |  |\n| POST | /workflows |  |\n| DELETE | /workflows/{workflowId} |  |\n| GET | /workflows/{workflowId} |  |\n| OPTIONS | /workflows/{workflowId} |  |\n| PATCH | /workflows/{workflowId} |  |\n| GET | /workflows/{workflowId}/executions |  |\n| OPTIONS | /workflows/{workflowId}/executions |  |\n| POST | /workflows/{workflowId}/executions |  |\n| DELETE | /workflows/{workflowId}/executions/{executionId} |  |\n| GET | /workflows/{workflowId}/executions/{executionId} |  |\n| OPTIONS | /workflows/{workflowId}/executions/{executionId} |  |\n| PATCH | /workflows/{workflowId}/executions/{executionId} |  |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all appClients?\" -> GET /appClients\n- \"Create a appClient?\" -> POST /appClients\n- \"Delete a appClient?\" -> DELETE /appClients/{appClientId}\n- \"Get appClient details?\" -> GET /appClients/{appClientId}\n- \"Partially update a appClient?\" -> PATCH /appClients/{appClientId}\n- \"List all assets?\" -> GET /assets\n- \"Create a asset?\" -> POST /assets\n- \"Delete a asset?\" -> DELETE /assets/{assetId}\n- \"Get asset details?\" -> GET /assets/{assetId}\n- \"Partially update a asset?\" -> PATCH /assets/{assetId}\n- \"List all datasets?\" -> GET /datasets\n- \"Create a dataset?\" -> POST /datasets\n- \"Delete a dataset?\" -> DELETE /datasets/{datasetId}\n- \"Get dataset details?\" -> GET /datasets/{datasetId}\n- \"Partially update a dataset?\" -> PATCH /datasets/{datasetId}\n- \"List all transformations?\" -> GET /datasets/{datasetId}/transformations\n- \"Create a transformation?\" -> POST /datasets/{datasetId}/transformations\n- \"Delete a transformation?\" -> DELETE /datasets/{datasetId}/transformations/{transformationId}\n- \"List all deploymentEnvironments?\" -> GET /deploymentEnvironments\n- \"Get deploymentEnvironment details?\" -> GET /deploymentEnvironments/{deploymentEnvironmentId}\n- \"List all documents?\" -> GET /documents\n- \"Create a document?\" -> POST /documents\n- \"Delete a document?\" -> DELETE /documents/{documentId}\n- \"Get document details?\" -> GET /documents/{documentId}\n- \"Partially update a document?\" -> PATCH /documents/{documentId}\n- \"List all logs?\" -> GET /logs\n- \"Get log details?\" -> GET /logs/{logId}\n- \"List all models?\" -> GET /models\n- \"Create a model?\" -> POST /models\n- \"Delete a model?\" -> DELETE /models/{modelId}\n- \"Get model details?\" -> GET /models/{modelId}\n- \"Partially update a model?\" -> PATCH /models/{modelId}\n- \"List all dataBundles?\" -> GET /models/{modelId}/dataBundles\n- \"Create a dataBundle?\" -> POST /models/{modelId}/dataBundles\n- \"Delete a dataBundle?\" -> DELETE /models/{modelId}/dataBundles/{dataBundleId}\n- \"Get dataBundle details?\" -> GET /models/{modelId}/dataBundles/{dataBundleId}\n- \"Partially update a dataBundle?\" -> PATCH /models/{modelId}/dataBundles/{dataBundleId}\n- \"List all trainings?\" -> GET /models/{modelId}/trainings\n- \"Create a training?\" -> POST /models/{modelId}/trainings\n- \"Get training details?\" -> GET /models/{modelId}/trainings/{trainingId}\n- \"Partially update a training?\" -> PATCH /models/{modelId}/trainings/{trainingId}\n- \"List all organizations?\" -> GET /organizations\n- \"Create a organization?\" -> POST /organizations\n- \"Get organization details?\" -> GET /organizations/{organizationId}\n- \"Partially update a organization?\" -> PATCH /organizations/{organizationId}\n- \"List all paymentMethods?\" -> GET /paymentMethods\n- \"Create a paymentMethod?\" -> POST /paymentMethods\n- \"Delete a paymentMethod?\" -> DELETE /paymentMethods/{paymentMethodId}\n- \"Get paymentMethod details?\" -> GET /paymentMethods/{paymentMethodId}\n- \"Partially update a paymentMethod?\" -> PATCH /paymentMethods/{paymentMethodId}\n- \"List all plans?\" -> GET /plans\n- \"Get plan details?\" -> GET /plans/{planId}\n- \"List all predictions?\" -> GET /predictions\n- \"Create a prediction?\" -> POST /predictions\n- \"Get prediction details?\" -> GET /predictions/{predictionId}\n- \"Get profile details?\" -> GET /profiles/{profileId}\n- \"Partially update a profile?\" -> PATCH /profiles/{profileId}\n- \"List all roles?\" -> GET /roles\n- \"Get role details?\" -> GET /roles/{roleId}\n- \"List all secrets?\" -> GET /secrets\n- \"Create a secret?\" -> POST /secrets\n- \"Delete a secret?\" -> DELETE /secrets/{secretId}\n- \"Partially update a secret?\" -> PATCH /secrets/{secretId}\n- \"List all transitions?\" -> GET /transitions\n- \"Create a transition?\" -> POST /transitions\n- \"Delete a transition?\" -> DELETE /transitions/{transitionId}\n- \"Get transition details?\" -> GET /transitions/{transitionId}\n- \"Partially update a transition?\" -> PATCH /transitions/{transitionId}\n- \"List all executions?\" -> GET /transitions/{transitionId}/executions\n- \"Create a execution?\" -> POST /transitions/{transitionId}/executions\n- \"Get execution details?\" -> GET /transitions/{transitionId}/executions/{executionId}\n- \"Partially update a execution?\" -> PATCH /transitions/{transitionId}/executions/{executionId}\n- \"Create a heartbeat?\" -> POST /transitions/{transitionId}/executions/{executionId}/heartbeats\n- \"List all users?\" -> GET /users\n- \"Create a user?\" -> POST /users\n- \"Delete a user?\" -> DELETE /users/{userId}\n- \"Get user details?\" -> GET /users/{userId}\n- \"Partially update a user?\" -> PATCH /users/{userId}\n- \"List all workflows?\" -> GET /workflows\n- \"Create a workflow?\" -> POST /workflows\n- \"Delete a workflow?\" -> DELETE /workflows/{workflowId}\n- \"Get workflow details?\" -> GET /workflows/{workflowId}\n- \"Partially update a workflow?\" -> PATCH /workflows/{workflowId}\n- \"Delete a execution?\" -> DELETE /workflows/{workflowId}/executions/{executionId}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Lucidtech API\n@base https://api.lucidtech.ai/v1\n@version 2024-11-29T08:05:46Z\n@auth OAuth2\n@endpoints 133\n@hint download_for_search\n@toc appClients(7), assets(7), datasets(12), deploymentEnvironments(4), documents(8), logs(4), models(20), organizations(6), paymentMethods(7), plans(4), predictions(5), profiles(3), roles(4), secrets(6), transitions(15), users(7), workflows(14)\n\n@group appClients\n@endpoint GET /appClients\n@optional {nextToken: str, maxResults: str}\n@returns(200) {appClients: [map], nextToken: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /appClients\n@returns(200) 200 response\n\n@endpoint POST /appClients\n@required {Content-Type: str}\n@optional {callbackUrls: [str], defaultLoginUrl: str, description: str, generateSecret: bool=true, loginUrls: [str], logoutUrls: [str], name: str, roleIds: [str]}\n@returns(200) {appClientId: str, callbackUrls: [str]?, clientId: str, clientSecret: str, createdBy: str?, createdTime: str?, defaultLoginUrl: str?, description: str?, hasSecret: bool, loginUrls: [str]?, logoutUrls: [str]?, name: str?, roleIds: [str]?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /appClients/{appClientId}\n@required {appClientId: str}\n@returns(200) {appClientId: str, callbackUrls: [str]?, clientId: str, clientSecret: str, createdBy: str?, createdTime: str?, defaultLoginUrl: str?, description: str?, hasSecret: bool, loginUrls: [str]?, logoutUrls: [str]?, name: str?, roleIds: [str]?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /appClients/{appClientId}\n@required {appClientId: str}\n@returns(200) {appClientId: str, callbackUrls: [str]?, clientId: str, clientSecret: str, createdBy: str?, createdTime: str?, defaultLoginUrl: str?, description: str?, hasSecret: bool, loginUrls: [str]?, logoutUrls: [str]?, name: str?, roleIds: [str]?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /appClients/{appClientId}\n@required {appClientId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /appClients/{appClientId}\n@required {appClientId: str, Content-Type: str}\n@optional {defaultLoginUrl: str, description: str, loginUrls: [str], name: str, roleIds: [str]}\n@returns(200) {appClientId: str, callbackUrls: [str]?, clientId: str, clientSecret: str, createdBy: str?, createdTime: str?, defaultLoginUrl: str?, description: str?, hasSecret: bool, loginUrls: [str]?, logoutUrls: [str]?, name: str?, roleIds: [str]?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group assets\n@endpoint GET /assets\n@optional {nextToken: str, maxResults: str}\n@returns(200) {assets: [map], nextToken: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /assets\n@returns(200) 200 response\n\n@endpoint POST /assets\n@required {Content-Type: str, content: str}\n@optional {description: str, name: str}\n@returns(200) {assetId: str, content: str, contentMD5: str?, createdBy: str?, createdTime: str?, description: str?, name: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /assets/{assetId}\n@required {assetId: str}\n@returns(200) {assetId: str, content: str, contentMD5: str?, createdBy: str?, createdTime: str?, description: str?, name: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /assets/{assetId}\n@required {assetId: str}\n@returns(200) {assetId: str, content: str, contentMD5: str?, createdBy: str?, createdTime: str?, description: str?, name: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /assets/{assetId}\n@required {assetId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /assets/{assetId}\n@required {Content-Type: str, assetId: str}\n@optional {content: str, description: str, name: str}\n@returns(200) {assetId: str, content: str, contentMD5: str?, createdBy: str?, createdTime: str?, description: str?, name: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group datasets\n@endpoint GET /datasets\n@optional {nextToken: str, maxResults: str}\n@returns(200) {datasets: [map], nextToken: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /datasets\n@returns(200) 200 response\n\n@endpoint POST /datasets\n@required {Content-Type: str}\n@optional {containsPersonallyIdentifiableInformation: bool, description: str, metadata: map, name: str, retentionInDays: int}\n@returns(200) {containsPersonallyIdentifiableInformation: bool, createdBy: str?, createdTime: str?, datasetId: str, description: str?, groundTruthSummary: map, metadata: map?, name: str?, numberOfDocuments: int, retentionInDays: int, storageLocation: str, updatedBy: str?, updatedTime: str?, version: int} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /datasets/{datasetId}\n@required {datasetId: str}\n@returns(200) {containsPersonallyIdentifiableInformation: bool, createdBy: str?, createdTime: str?, datasetId: str, description: str?, groundTruthSummary: map, metadata: map?, name: str?, numberOfDocuments: int, retentionInDays: int, storageLocation: str, updatedBy: str?, updatedTime: str?, version: int} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /datasets/{datasetId}\n@required {datasetId: str}\n@returns(200) {containsPersonallyIdentifiableInformation: bool, createdBy: str?, createdTime: str?, datasetId: str, description: str?, groundTruthSummary: map, metadata: map?, name: str?, numberOfDocuments: int, retentionInDays: int, storageLocation: str, updatedBy: str?, updatedTime: str?, version: int} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /datasets/{datasetId}\n@required {datasetId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /datasets/{datasetId}\n@required {Content-Type: str, datasetId: str}\n@optional {containsPersonallyIdentifiableInformation: bool, description: str, metadata: map, name: str, retentionInDays: int}\n@returns(200) {containsPersonallyIdentifiableInformation: bool, createdBy: str?, createdTime: str?, datasetId: str, description: str?, groundTruthSummary: map, metadata: map?, name: str?, numberOfDocuments: int, retentionInDays: int, storageLocation: str, updatedBy: str?, updatedTime: str?, version: int} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /datasets/{datasetId}/transformations\n@required {datasetId: str}\n@optional {status: str, nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, status: [str], transformations: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /datasets/{datasetId}/transformations\n@required {datasetId: str}\n@returns(200) 200 response\n\n@endpoint POST /datasets/{datasetId}/transformations\n@required {Content-Type: str, datasetId: str}\n@optional {operations: [map{options: map, type!: str}]}\n@returns(200) {createdBy: str?, createdTime: str?, datasetId: str, operations: [map], status: str, transformationId: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /datasets/{datasetId}/transformations/{transformationId}\n@required {datasetId: str, transformationId: str}\n@returns(200) {createdBy: str?, createdTime: str?, datasetId: str, operations: [map], status: str, transformationId: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /datasets/{datasetId}/transformations/{transformationId}\n@required {datasetId: str, transformationId: str}\n@returns(200) 200 response\n\n@endgroup\n\n@group deploymentEnvironments\n@endpoint GET /deploymentEnvironments\n@optional {owner: str, nextToken: str, maxResults: str}\n@returns(200) {deploymentEnvironments: [map], nextToken: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /deploymentEnvironments\n@returns(200) 200 response\n\n@endpoint GET /deploymentEnvironments/{deploymentEnvironmentId}\n@required {deploymentEnvironmentId: str}\n@returns(200) {deploymentEnvironmentId: str, description: str?, modelDeploymentUnits: int, name: str?, organizationId: str?, status: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /deploymentEnvironments/{deploymentEnvironmentId}\n@required {deploymentEnvironmentId: str}\n@returns(200) 200 response\n\n@endgroup\n\n@group documents\n@endpoint DELETE /documents\n@optional {consentId: str, datasetId: str, nextToken: str, maxResults: str}\n@returns(200) {consentId: [str], datasetId: [str], documents: [map], nextToken: str?, order: str, sortBy: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /documents\n@optional {datasetId: str, nextToken: str, order: str, documentId: str, consentId: str, maxResults: str, sortBy: str}\n@returns(200) {consentId: [str], datasetId: [str], documents: [map], nextToken: str?, order: str, sortBy: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /documents\n@returns(200) 200 response\n\n@endpoint POST /documents\n@required {Content-Type: str}\n@optional {consentId: str, content: str, contentType: str(application/pdf/image/jpeg/image/png/image/tiff/image/webp), datasetId: str, description: str, groundTruth: [map{confidence: num, label!: str, pages: [int], value!: any}], metadata: map, name: str, retentionInDays: int}\n@returns(200) {consentId: str, content: str?, contentMD5: str?, contentType: str?, createdBy: str?, createdTime: str?, datasetId: str, description: str?, documentId: str, fileUrl: str?, groundTruth: [map], metadata: map?, name: str?, retentionInDays: int, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /documents/{documentId}\n@required {documentId: str}\n@returns(200) {consentId: str, content: str?, contentMD5: str?, contentType: str?, createdBy: str?, createdTime: str?, datasetId: str, description: str?, documentId: str, fileUrl: str?, groundTruth: [map], metadata: map?, name: str?, retentionInDays: int, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /documents/{documentId}\n@required {documentId: str}\n@returns(200) {consentId: str, content: str?, contentMD5: str?, contentType: str?, createdBy: str?, createdTime: str?, datasetId: str, description: str?, documentId: str, fileUrl: str?, groundTruth: [map], metadata: map?, name: str?, retentionInDays: int, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /documents/{documentId}\n@required {documentId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /documents/{documentId}\n@required {Content-Type: str, documentId: str}\n@optional {datasetId: str, description: str, groundTruth: [map{confidence: num, label!: str, pages: [int], value!: any}], metadata: map, name: str, retentionInDays: int}\n@returns(200) {consentId: str, content: str?, contentMD5: str?, contentType: str?, createdBy: str?, createdTime: str?, datasetId: str, description: str?, documentId: str, fileUrl: str?, groundTruth: [map], metadata: map?, name: str?, retentionInDays: int, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group logs\n@endpoint GET /logs\n@optional {workflowId: str, nextToken: str, order: str, transitionExecutionId: str, transitionId: str, maxResults: str, workflowExecutionId: str}\n@returns(200) {logs: [map], nextToken: str?, order: str, transitionExecutionId: str, transitionId: any, workflowExecutionId: str, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /logs\n@returns(200) 200 response\n\n@endpoint GET /logs/{logId}\n@required {logId: str}\n@returns(200) {events: [map], logId: str, startTime: str?, transitionExecutionId: str?, transitionId: any?, workflowExecutionId: str?, workflowId: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /logs/{logId}\n@required {logId: str}\n@returns(200) 200 response\n\n@endgroup\n\n@group models\n@endpoint GET /models\n@optional {owner: str, nextToken: str, maxResults: str}\n@returns(200) {models: [map], nextToken: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /models\n@returns(200) 200 response\n\n@endpoint POST /models\n@required {Content-Type: str, fieldConfig: map}\n@optional {description: str, metadata: map, name: str, postprocessConfig: any, preprocessConfig: map{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, fieldConfig: map?, metadata: map?, modelId: str, name: str?, numberOfDataBundles: int, numberOfRunningTrainings: int, organizationId: str, postprocessConfig: any, preprocessConfig: map{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}, statistics: map?, status: str, trainingId: str?, updatedBy: str?, updatedTime: str?, version: int} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /models/{modelId}\n@required {modelId: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, fieldConfig: map?, metadata: map?, modelId: str, name: str?, numberOfDataBundles: int, numberOfRunningTrainings: int, organizationId: str, postprocessConfig: any, preprocessConfig: map{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}, statistics: map?, status: str, trainingId: str?, updatedBy: str?, updatedTime: str?, version: int} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /models/{modelId}\n@required {modelId: str}\n@optional {statisticsLastNDays: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, fieldConfig: map?, metadata: map?, modelId: str, name: str?, numberOfDataBundles: int, numberOfRunningTrainings: int, organizationId: str, postprocessConfig: any, preprocessConfig: map{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}, statistics: map?, status: str, trainingId: str?, updatedBy: str?, updatedTime: str?, version: int} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /models/{modelId}\n@required {modelId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /models/{modelId}\n@required {Content-Type: str, modelId: str}\n@optional {description: str, fieldConfig: map, metadata: map, name: str, postprocessConfig: any, preprocessConfig: map{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}, trainingId: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, fieldConfig: map?, metadata: map?, modelId: str, name: str?, numberOfDataBundles: int, numberOfRunningTrainings: int, organizationId: str, postprocessConfig: any, preprocessConfig: map{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}, statistics: map?, status: str, trainingId: str?, updatedBy: str?, updatedTime: str?, version: int} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /models/{modelId}/dataBundles\n@required {modelId: str}\n@optional {status: str, nextToken: str, maxResults: str}\n@returns(200) {dataBundles: [map], nextToken: str?, status: [str]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /models/{modelId}/dataBundles\n@required {modelId: str}\n@returns(200) 200 response\n\n@endpoint POST /models/{modelId}/dataBundles\n@required {Content-Type: str, modelId: str}\n@optional {datasetIds: [str], description: str, name: str}\n@returns(200) {createdBy: str?, createdTime: str?, dataBundleId: str, datasets: [map], description: str?, modelId: str, name: str?, retentionInDays: int, status: str, summary: map?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /models/{modelId}/dataBundles/{dataBundleId}\n@required {dataBundleId: str, modelId: str}\n@returns(200) {createdBy: str?, createdTime: str?, dataBundleId: str, datasets: [map], description: str?, modelId: str, name: str?, retentionInDays: int, status: str, summary: map?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /models/{modelId}/dataBundles/{dataBundleId}\n@required {dataBundleId: str, modelId: str}\n@returns(200) {createdBy: str?, createdTime: str?, dataBundleId: str, datasets: [map], description: str?, modelId: str, name: str?, retentionInDays: int, status: str, summary: map?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /models/{modelId}/dataBundles/{dataBundleId}\n@required {dataBundleId: str, modelId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /models/{modelId}/dataBundles/{dataBundleId}\n@required {dataBundleId: str, Content-Type: str, modelId: str}\n@optional {description: str, name: str}\n@returns(200) {createdBy: str?, createdTime: str?, dataBundleId: str, datasets: [map], description: str?, modelId: str, name: str?, retentionInDays: int, status: str, summary: map?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /models/{modelId}/trainings\n@required {modelId: str}\n@optional {status: str, nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, status: [str], trainings: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /models/{modelId}/trainings\n@required {modelId: str}\n@returns(200) 200 response\n\n@endpoint POST /models/{modelId}/trainings\n@required {Content-Type: str, modelId: str}\n@optional {dataBundleIds: [str], dataScientistAssistance: bool, description: str, instanceType: str(small-gpu/medium-gpu/large-gpu), metadata: map, name: str, warmStartConfig: map{trainingId!: str}}\n@returns(200) {createdBy: str?, createdTime: str?, dataBundleIds: [str], dataScientistAssistance: bool, deploymentEnvironmentId: str?, description: str?, evaluation: map, gpuHours: num?, instanceType: str, metadata: map?, modelId: str, name: str?, statistics: map?, status: str, trainingId: str, updatedBy: str?, updatedTime: str?, warmStartConfig: any} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /models/{modelId}/trainings/{trainingId}\n@required {modelId: str, trainingId: str}\n@returns(200) {createdBy: str?, createdTime: str?, dataBundleIds: [str], dataScientistAssistance: bool, deploymentEnvironmentId: str?, description: str?, evaluation: map, gpuHours: num?, instanceType: str, metadata: map?, modelId: str, name: str?, statistics: map?, status: str, trainingId: str, updatedBy: str?, updatedTime: str?, warmStartConfig: any} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /models/{modelId}/trainings/{trainingId}\n@required {modelId: str, trainingId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /models/{modelId}/trainings/{trainingId}\n@required {Content-Type: str, modelId: str, trainingId: str}\n@optional {deploymentEnvironmentId: str, description: str, metadata: map, name: str, status: str}\n@returns(200) {createdBy: str?, createdTime: str?, dataBundleIds: [str], dataScientistAssistance: bool, deploymentEnvironmentId: str?, description: str?, evaluation: map, gpuHours: num?, instanceType: str, metadata: map?, modelId: str, name: str?, statistics: map?, status: str, trainingId: str, updatedBy: str?, updatedTime: str?, warmStartConfig: any} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group organizations\n@endpoint GET /organizations\n@optional {nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, organizations: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /organizations\n@returns(200) 200 response\n\n@endpoint POST /organizations\n@required {Content-Type: str}\n@optional {name: str}\n@returns(200) {clientId: str?, createdTime: str?, deploymentsAllowed: map, deploymentsCreated: map, description: str?, documentRetentionInDays: int, monthlyNumberOfActiveModelsUsed: int, monthlyNumberOfDataBundlesAllowed: int, monthlyNumberOfDataBundlesCreated: int, monthlyNumberOfDocumentsAllowed: int, monthlyNumberOfDocumentsCreated: int, monthlyNumberOfFieldPredictionsAllowed: int, monthlyNumberOfFieldPredictionsUsed: int, monthlyNumberOfGpuHoursUsed: num, monthlyNumberOfModelDeploymentUnitsUsed: int, monthlyNumberOfPagePredictionsAllowed: int, monthlyNumberOfPagePredictionsUsed: int, monthlyNumberOfPredictionsAllowed: int, monthlyNumberOfPredictionsCreated: int, monthlyNumberOfProductionWorkflowMinutesUsed: int, monthlyNumberOfTrainingsAllowed: int, monthlyNumberOfTrainingsCreated: int, monthlyNumberOfTransformationsAllowed: int, monthlyNumberOfTransformationsCreated: int, monthlyNumberOfTransitionExecutionsAllowed: int, monthlyNumberOfTransitionExecutionsCreated: int, monthlyNumberOfUserMinutesUsed: num, monthlyNumberOfWorkflowExecutionsAllowed: int, monthlyNumberOfWorkflowExecutionsCreated: int, monthlyUsageSummary: map, name: str?, numberOfAppClientsAllowed: int, numberOfAppClientsCreated: int, numberOfAssetsAllowed: int, numberOfAssetsCreated: int, numberOfDatasetsAllowed: int, numberOfDatasetsCreated: int, numberOfModelsAllowed: int, numberOfModelsCreated: int, numberOfSecretsAllowed: int, numberOfSecretsCreated: int, numberOfTransitionsAllowed: int, numberOfTransitionsCreated: int, numberOfUsersAllowed: int, numberOfUsersCreated: int, numberOfWorkflowsAllowed: int, numberOfWorkflowsCreated: int, organizationId: str, paymentMethodId: str?, planId: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /organizations/{organizationId}\n@required {organizationId: str}\n@returns(200) {clientId: str?, createdTime: str?, deploymentsAllowed: map, deploymentsCreated: map, description: str?, documentRetentionInDays: int, monthlyNumberOfActiveModelsUsed: int, monthlyNumberOfDataBundlesAllowed: int, monthlyNumberOfDataBundlesCreated: int, monthlyNumberOfDocumentsAllowed: int, monthlyNumberOfDocumentsCreated: int, monthlyNumberOfFieldPredictionsAllowed: int, monthlyNumberOfFieldPredictionsUsed: int, monthlyNumberOfGpuHoursUsed: num, monthlyNumberOfModelDeploymentUnitsUsed: int, monthlyNumberOfPagePredictionsAllowed: int, monthlyNumberOfPagePredictionsUsed: int, monthlyNumberOfPredictionsAllowed: int, monthlyNumberOfPredictionsCreated: int, monthlyNumberOfProductionWorkflowMinutesUsed: int, monthlyNumberOfTrainingsAllowed: int, monthlyNumberOfTrainingsCreated: int, monthlyNumberOfTransformationsAllowed: int, monthlyNumberOfTransformationsCreated: int, monthlyNumberOfTransitionExecutionsAllowed: int, monthlyNumberOfTransitionExecutionsCreated: int, monthlyNumberOfUserMinutesUsed: num, monthlyNumberOfWorkflowExecutionsAllowed: int, monthlyNumberOfWorkflowExecutionsCreated: int, monthlyUsageSummary: map, name: str?, numberOfAppClientsAllowed: int, numberOfAppClientsCreated: int, numberOfAssetsAllowed: int, numberOfAssetsCreated: int, numberOfDatasetsAllowed: int, numberOfDatasetsCreated: int, numberOfModelsAllowed: int, numberOfModelsCreated: int, numberOfSecretsAllowed: int, numberOfSecretsCreated: int, numberOfTransitionsAllowed: int, numberOfTransitionsCreated: int, numberOfUsersAllowed: int, numberOfUsersCreated: int, numberOfWorkflowsAllowed: int, numberOfWorkflowsCreated: int, organizationId: str, paymentMethodId: str?, planId: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /organizations/{organizationId}\n@required {organizationId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /organizations/{organizationId}\n@required {Content-Type: str, organizationId: str}\n@optional {description: str, name: str, paymentMethodId: str, planId: str}\n@returns(200) {clientId: str?, createdTime: str?, deploymentsAllowed: map, deploymentsCreated: map, description: str?, documentRetentionInDays: int, monthlyNumberOfActiveModelsUsed: int, monthlyNumberOfDataBundlesAllowed: int, monthlyNumberOfDataBundlesCreated: int, monthlyNumberOfDocumentsAllowed: int, monthlyNumberOfDocumentsCreated: int, monthlyNumberOfFieldPredictionsAllowed: int, monthlyNumberOfFieldPredictionsUsed: int, monthlyNumberOfGpuHoursUsed: num, monthlyNumberOfModelDeploymentUnitsUsed: int, monthlyNumberOfPagePredictionsAllowed: int, monthlyNumberOfPagePredictionsUsed: int, monthlyNumberOfPredictionsAllowed: int, monthlyNumberOfPredictionsCreated: int, monthlyNumberOfProductionWorkflowMinutesUsed: int, monthlyNumberOfTrainingsAllowed: int, monthlyNumberOfTrainingsCreated: int, monthlyNumberOfTransformationsAllowed: int, monthlyNumberOfTransformationsCreated: int, monthlyNumberOfTransitionExecutionsAllowed: int, monthlyNumberOfTransitionExecutionsCreated: int, monthlyNumberOfUserMinutesUsed: num, monthlyNumberOfWorkflowExecutionsAllowed: int, monthlyNumberOfWorkflowExecutionsCreated: int, monthlyUsageSummary: map, name: str?, numberOfAppClientsAllowed: int, numberOfAppClientsCreated: int, numberOfAssetsAllowed: int, numberOfAssetsCreated: int, numberOfDatasetsAllowed: int, numberOfDatasetsCreated: int, numberOfModelsAllowed: int, numberOfModelsCreated: int, numberOfSecretsAllowed: int, numberOfSecretsCreated: int, numberOfTransitionsAllowed: int, numberOfTransitionsCreated: int, numberOfUsersAllowed: int, numberOfUsersCreated: int, numberOfWorkflowsAllowed: int, numberOfWorkflowsCreated: int, organizationId: str, paymentMethodId: str?, planId: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group paymentMethods\n@endpoint GET /paymentMethods\n@optional {nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, paymentMethods: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /paymentMethods\n@returns(200) 200 response\n\n@endpoint POST /paymentMethods\n@required {Content-Type: str}\n@optional {description: str, name: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, details: map?, name: str?, paymentMethodId: str, stripePublishableKey: str?, stripeSetupIntentSecret: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /paymentMethods/{paymentMethodId}\n@required {paymentMethodId: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, details: map?, name: str?, paymentMethodId: str, stripePublishableKey: str?, stripeSetupIntentSecret: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /paymentMethods/{paymentMethodId}\n@required {paymentMethodId: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, details: map?, name: str?, paymentMethodId: str, stripePublishableKey: str?, stripeSetupIntentSecret: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /paymentMethods/{paymentMethodId}\n@required {paymentMethodId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /paymentMethods/{paymentMethodId}\n@required {Content-Type: str, paymentMethodId: str}\n@optional {description: str, name: str, stripeSetupIntentSecret: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, details: map?, name: str?, paymentMethodId: str, stripePublishableKey: str?, stripeSetupIntentSecret: str?, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group plans\n@endpoint GET /plans\n@optional {owner: str, nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, plans: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /plans\n@returns(200) 200 response\n\n@endpoint GET /plans/{planId}\n@required {planId: str}\n@returns(200) {activeModels: map?, available: bool, currency: str, description: str?, fieldPredictions: map?, flows: map?, gpuHours: map?, latest: int, license: map?, modelDeploymentUnits: map?, name: str?, organizationId: str?, pagePredictions: map?, planId: str, productionWorkflowMinutes: map?, userMinutes: map?, users: map?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /plans/{planId}\n@required {planId: str}\n@returns(200) 200 response\n\n@endgroup\n\n@group predictions\n@endpoint GET /predictions\n@optional {nextToken: str, maxResults: str, sortBy: str, order: str, modelId: str}\n@returns(200) {modelId: str, nextToken: str?, order: str, predictions: [map], sortBy: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /predictions\n@returns(200) 200 response\n\n@endpoint POST /predictions\n@required {Content-Type: str, documentId: str, modelId: str}\n@optional {async: bool, autoRotate: bool, imageQuality: str(LOW/HIGH), maxPages: int, postprocessConfig: any, preprocessConfig: map{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}, rotation: int(0/90/180/270), trainingId: str}\n@returns(200) {createdBy: str?, createdTime: str?, documentId: str, error: str?, inferenceTime: num?, modelId: str, nextPage: int?, postprocessConfig: any?, predictionId: str, predictions: any, preprocessConfig: map?{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}, status: str, trainingId: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /predictions/{predictionId}\n@required {predictionId: str}\n@returns(200) {createdBy: str?, createdTime: str?, documentId: str, error: str?, inferenceTime: num?, modelId: str, nextPage: int?, postprocessConfig: any?, predictionId: str, predictions: any, preprocessConfig: map?{autoRotate: bool, imageQuality: str, maxPages: int, pages: [int], rotation: int, startPage: int}, status: str, trainingId: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /predictions/{predictionId}\n@required {predictionId: str}\n@returns(200) 200 response\n\n@endgroup\n\n@group profiles\n@endpoint GET /profiles/{profileId}\n@required {profileId: str}\n@returns(200) {createdTime: str?, email: str, familyName: str?, givenName: str?, locale: str?, metadata: map?, name: str?, numberOfOrganizationsAllowed: int, numberOfOrganizationsCreated: int, picture: str?, profileId: str, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /profiles/{profileId}\n@required {profileId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /profiles/{profileId}\n@required {profileId: str}\n@returns(200) {createdTime: str?, email: str, familyName: str?, givenName: str?, locale: str?, metadata: map?, name: str?, numberOfOrganizationsAllowed: int, numberOfOrganizationsCreated: int, picture: str?, profileId: str, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group roles\n@endpoint GET /roles\n@optional {nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, roles: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /roles\n@returns(200) 200 response\n\n@endpoint GET /roles/{roleId}\n@required {roleId: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, name: str?, permissions: [map], roleId: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /roles/{roleId}\n@required {roleId: str}\n@returns(200) 200 response\n\n@endgroup\n\n@group secrets\n@endpoint GET /secrets\n@optional {nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, secrets: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /secrets\n@returns(200) 200 response\n\n@endpoint POST /secrets\n@required {Content-Type: str, data: map}\n@optional {description: str, name: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, name: str?, secretId: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /secrets/{secretId}\n@required {secretId: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, name: str?, secretId: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /secrets/{secretId}\n@required {secretId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /secrets/{secretId}\n@required {Content-Type: str, secretId: str}\n@optional {data: map, description: str, name: str}\n@returns(200) {createdBy: str?, createdTime: str?, description: str?, name: str?, secretId: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group transitions\n@endpoint GET /transitions\n@optional {transitionType: str, nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, transitionType: [str], transitions: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /transitions\n@returns(200) 200 response\n\n@endpoint POST /transitions\n@required {Content-Type: str, transitionType: str(docker/manual/lambda)}\n@optional {description: str, name: str, parameters: any, timeoutInSeconds: int}\n@returns(200) {assets: map{jsRemoteComponent: str}, createdBy: str?, createdTime: str?, description: str?, name: str?, parameters: map, timeoutInSeconds: int, transitionId: any, transitionType: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /transitions/{transitionId}\n@required {transitionId: str}\n@returns(200) {assets: map{jsRemoteComponent: str}, createdBy: str?, createdTime: str?, description: str?, name: str?, parameters: map, timeoutInSeconds: int, transitionId: any, transitionType: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /transitions/{transitionId}\n@required {transitionId: str}\n@returns(200) {assets: map{jsRemoteComponent: str}, createdBy: str?, createdTime: str?, description: str?, name: str?, parameters: map, timeoutInSeconds: int, transitionId: any, transitionType: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /transitions/{transitionId}\n@required {transitionId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /transitions/{transitionId}\n@required {Content-Type: str, transitionId: str}\n@optional {description: str, name: str, parameters: any}\n@returns(200) {assets: map{jsRemoteComponent: str}, createdBy: str?, createdTime: str?, description: str?, name: str?, parameters: map, timeoutInSeconds: int, transitionId: any, transitionType: str, updatedBy: str?, updatedTime: str?} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /transitions/{transitionId}/executions\n@required {transitionId: str}\n@optional {nextToken: str, order: str, executionId: str, status: str, maxResults: str, sortBy: str}\n@returns(200) {executions: [map], nextToken: str?, status: [str], transitionId: any} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /transitions/{transitionId}/executions\n@required {transitionId: str}\n@returns(200) 200 response\n\n@endpoint POST /transitions/{transitionId}/executions\n@required {Content-Type: str, transitionId: str}\n@returns(200) {completedBy: str?, endTime: str?, executionId: str, input: map?, logId: str?, output: map?, startTime: str?, status: str, transitionId: any} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /transitions/{transitionId}/executions/{executionId}\n@required {transitionId: str, executionId: str}\n@returns(200) {completedBy: str?, endTime: str?, executionId: str, input: map?, logId: str?, output: map?, startTime: str?, status: str, transitionId: any} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /transitions/{transitionId}/executions/{executionId}\n@required {transitionId: str, executionId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /transitions/{transitionId}/executions/{executionId}\n@required {Content-Type: str, transitionId: str, executionId: str}\n@optional {error: map{message!: str}, output: map, startTime: str, status: str}\n@returns(200) {completedBy: str?, endTime: str?, executionId: str, input: map?, logId: str?, output: map?, startTime: str?, status: str, transitionId: any} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /transitions/{transitionId}/executions/{executionId}/heartbeats\n@required {transitionId: str, executionId: str}\n@returns(200) 200 response\n\n@endpoint POST /transitions/{transitionId}/executions/{executionId}/heartbeats\n@required {Content-Type: str, transitionId: str, executionId: str}\n@returns(204) 204 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group users\n@endpoint GET /users\n@optional {nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, users: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /users\n@returns(200) 200 response\n\n@endpoint POST /users\n@required {Content-Type: str, email: str}\n@optional {appClientId: str, metadata: map, roleIds: [str]}\n@returns(200) {createdBy: str?, createdTime: str?, metadata: map?, profileId: str?, roleIds: [str]?, status: str, updatedBy: str?, updatedTime: str?, userId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /users/{userId}\n@required {userId: str}\n@returns(200) {createdBy: str?, createdTime: str?, metadata: map?, profileId: str?, roleIds: [str]?, status: str, updatedBy: str?, updatedTime: str?, userId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /users/{userId}\n@required {userId: str}\n@returns(200) {createdBy: str?, createdTime: str?, metadata: map?, profileId: str?, roleIds: [str]?, status: str, updatedBy: str?, updatedTime: str?, userId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /users/{userId}\n@required {userId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /users/{userId}\n@required {Content-Type: str, userId: str}\n@optional {metadata: map, roleIds: [str]}\n@returns(200) {createdBy: str?, createdTime: str?, metadata: map?, profileId: str?, roleIds: [str]?, status: str, updatedBy: str?, updatedTime: str?, userId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@group workflows\n@endpoint GET /workflows\n@optional {nextToken: str, maxResults: str}\n@returns(200) {nextToken: str?, workflows: [map]} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /workflows\n@returns(200) 200 response\n\n@endpoint POST /workflows\n@required {Content-Type: str, specification: map{definition!: map, language: str, version: str}}\n@optional {completedConfig: map{environment: map, environmentSecrets: [str], imageUrl!: str, secretId: str}, description: str, emailConfig: map{additionalWorkflowInput: map, allowedOrigins: [str], email: str, secretId!: str}, errorConfig: map{email: str, manualRetry: bool}, metadata: map, name: str, status: str(development/production)}\n@returns(200) {completedConfig: map?{environment: map, environmentSecrets: [str], imageUrl: str, secretId: str}, createdBy: str?, createdTime: str?, description: str?, emailConfig: map?{additionalWorkflowInput: map?, allowedOrigins: [str]?, email: str, secretId: str}, errorConfig: map?{email: str, manualRetry: bool}, metadata: map?, monthlyNumberOfWorkflowExecutionsAllowed: int, monthlyNumberOfWorkflowExecutionsCreated: int, name: str?, numberOfRunningExecutions: int, status: str, updatedBy: str?, updatedTime: str?, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /workflows/{workflowId}\n@required {workflowId: str}\n@returns(200) {completedConfig: map?{environment: map, environmentSecrets: [str], imageUrl: str, secretId: str}, createdBy: str?, createdTime: str?, description: str?, emailConfig: map?{additionalWorkflowInput: map?, allowedOrigins: [str]?, email: str, secretId: str}, errorConfig: map?{email: str, manualRetry: bool}, metadata: map?, monthlyNumberOfWorkflowExecutionsAllowed: int, monthlyNumberOfWorkflowExecutionsCreated: int, name: str?, numberOfRunningExecutions: int, status: str, updatedBy: str?, updatedTime: str?, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /workflows/{workflowId}\n@required {workflowId: str}\n@returns(200) {completedConfig: map?{environment: map, environmentSecrets: [str], imageUrl: str, secretId: str}, createdBy: str?, createdTime: str?, description: str?, emailConfig: map?{additionalWorkflowInput: map?, allowedOrigins: [str]?, email: str, secretId: str}, errorConfig: map?{email: str, manualRetry: bool}, metadata: map?, monthlyNumberOfWorkflowExecutionsAllowed: int, monthlyNumberOfWorkflowExecutionsCreated: int, name: str?, numberOfRunningExecutions: int, status: str, updatedBy: str?, updatedTime: str?, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /workflows/{workflowId}\n@required {workflowId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /workflows/{workflowId}\n@required {Content-Type: str, workflowId: str}\n@optional {completedConfig: map{environment: map, environmentSecrets: [str], imageUrl!: str, secretId: str}, description: str, emailConfig: map{additionalWorkflowInput: map, allowedOrigins: [str], email: str, secretId!: str}, errorConfig: map{email: str, manualRetry: bool}, metadata: map, name: str, status: str(development/production)}\n@returns(200) {completedConfig: map?{environment: map, environmentSecrets: [str], imageUrl: str, secretId: str}, createdBy: str?, createdTime: str?, description: str?, emailConfig: map?{additionalWorkflowInput: map?, allowedOrigins: [str]?, email: str, secretId: str}, errorConfig: map?{email: str, manualRetry: bool}, metadata: map?, monthlyNumberOfWorkflowExecutionsAllowed: int, monthlyNumberOfWorkflowExecutionsCreated: int, name: str?, numberOfRunningExecutions: int, status: str, updatedBy: str?, updatedTime: str?, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /workflows/{workflowId}/executions\n@required {workflowId: str}\n@optional {fromStartTime: str, toStartTime: str, nextToken: str, order: str, status: str, maxResults: str, sortBy: str}\n@returns(200) {executions: [map], nextToken: str?, order: str, sortBy: str, status: [str], workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /workflows/{workflowId}/executions\n@required {workflowId: str}\n@returns(200) 200 response\n\n@endpoint POST /workflows/{workflowId}/executions\n@required {Content-Type: str, workflowId: str, input: map}\n@returns(200) {completedBy: [any], completedTaskLogId: str?, createdBy: str?, endTime: str?, events: [map], executionId: str, input: map?, logId: str?, output: map?, startTime: str?, status: str, transitionExecutions: map?, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint DELETE /workflows/{workflowId}/executions/{executionId}\n@required {executionId: str, workflowId: str}\n@returns(200) {completedBy: [any], completedTaskLogId: str?, createdBy: str?, endTime: str?, events: [map], executionId: str, input: map?, logId: str?, output: map?, startTime: str?, status: str, transitionExecutions: map?, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint GET /workflows/{workflowId}/executions/{executionId}\n@required {executionId: str, workflowId: str}\n@returns(200) {completedBy: [any], completedTaskLogId: str?, createdBy: str?, endTime: str?, events: [map], executionId: str, input: map?, logId: str?, output: map?, startTime: str?, status: str, transitionExecutions: map?, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endpoint OPTIONS /workflows/{workflowId}/executions/{executionId}\n@required {executionId: str, workflowId: str}\n@returns(200) 200 response\n\n@endpoint PATCH /workflows/{workflowId}/executions/{executionId}\n@required {Content-Type: str, executionId: str, workflowId: str}\n@optional {nextTransitionId: any, status: str(succeeded/completed)}\n@returns(200) {completedBy: [any], completedTaskLogId: str?, createdBy: str?, endTime: str?, events: [map], executionId: str, input: map?, logId: str?, output: map?, startTime: str?, status: str, transitionExecutions: map?, workflowId: str} # 200 response\n@errors {400: 400 response, 403: 403 response, 404: 404 response, 415: 415 response, 500: 500 response}\n\n@endgroup\n\n@end\n"}}