{"files":{"SKILL.md":"---\nname: custom-vision-prediction-client\ndescription: \"Custom Vision Prediction Client API skill. Use when working with Custom Vision Prediction Client for {projectId}. Covers 8 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Custom Vision Prediction Client\nAPI version: 3.0\n\n## Auth\nApiKey Prediction-Key in header\n\n## Base URL\nhttps://southcentralus.api.cognitive.microsoft.com/customvision/v3.0/prediction\n\n## Setup\n1. Set your API key in the appropriate header\n2. Verify API access with a test request\n3. POST /{projectId}/classify/iterations/{publishedName}/url -- create first url\n\n## Endpoints\n8 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### {projectId}\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /{projectId}/classify/iterations/{publishedName}/url | Classify an image url and saves the result. |\n| POST | /{projectId}/classify/iterations/{publishedName}/image | Classify an image and saves the result. |\n| POST | /{projectId}/classify/iterations/{publishedName}/url/nostore | Classify an image url without saving the result. |\n| POST | /{projectId}/classify/iterations/{publishedName}/image/nostore | Classify an image without saving the result. |\n| POST | /{projectId}/detect/iterations/{publishedName}/url | Detect objects in an image url and saves the result. |\n| POST | /{projectId}/detect/iterations/{publishedName}/image | Detect objects in an image and saves the result. |\n| POST | /{projectId}/detect/iterations/{publishedName}/url/nostore | Detect objects in an image url without saving the result. |\n| POST | /{projectId}/detect/iterations/{publishedName}/image/nostore | Detect objects in an image without saving the result. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a url?\" -> POST /{projectId}/classify/iterations/{publishedName}/url\n- \"Create a image?\" -> POST /{projectId}/classify/iterations/{publishedName}/image\n- \"Create a nostore?\" -> POST /{projectId}/classify/iterations/{publishedName}/url/nostore\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\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 Custom Vision Prediction Client\n@base https://southcentralus.api.cognitive.microsoft.com/customvision/v3.0/prediction\n@version 3.0\n@auth ApiKey Prediction-Key in header\n@common_fields {projectId: any # The project id., publishedName: any # Specifies the name of the model to evaluate against., application: any # Optional. Specifies the name of application using the endpoint.}\n@endpoints 8\n@toc {projectId}(8)\n\n@endpoint POST /{projectId}/classify/iterations/{publishedName}/url\n@desc Classify an image url and saves the result.\n@required {imageUrl: map # An ImageUrl that contains the url of the image to be evaluated.}\n@returns(200) OK\n\n@endpoint POST /{projectId}/classify/iterations/{publishedName}/image\n@desc Classify an image and saves the result.\n@required {imageData: any # Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 4MB.}\n@returns(200) OK\n\n@endpoint POST /{projectId}/classify/iterations/{publishedName}/url/nostore\n@desc Classify an image url without saving the result.\n@required {imageUrl: map # An {Iris.Web.Api.Models.ImageUrl} that contains the url of the image to be evaluated.}\n@returns(200) OK\n\n@endpoint POST /{projectId}/classify/iterations/{publishedName}/image/nostore\n@desc Classify an image without saving the result.\n@required {imageData: any # Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 0MB.}\n@returns(200) OK\n\n@endpoint POST /{projectId}/detect/iterations/{publishedName}/url\n@desc Detect objects in an image url and saves the result.\n@required {imageUrl: map # An ImageUrl that contains the url of the image to be evaluated.}\n@returns(200) OK\n\n@endpoint POST /{projectId}/detect/iterations/{publishedName}/image\n@desc Detect objects in an image and saves the result.\n@required {imageData: any # Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 4MB.}\n@returns(200) OK\n\n@endpoint POST /{projectId}/detect/iterations/{publishedName}/url/nostore\n@desc Detect objects in an image url without saving the result.\n@required {imageUrl: map # An {Iris.Web.Api.Models.ImageUrl} that contains the url of the image to be evaluated.}\n@returns(200) OK\n\n@endpoint POST /{projectId}/detect/iterations/{publishedName}/image/nostore\n@desc Detect objects in an image without saving the result.\n@required {imageData: any # Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 0MB.}\n@returns(200) OK\n\n@end\n"}}