Retrieve full content for artifacts by their identifiers
Search
GET /api/search with IncludeContent=false to find relevant artifacts. Each result includes an identifier, description, and contentByteSize.Review
| Constraint | Value |
|---|---|
| Max identifiers per request | 20 |
| Identifier format | owner/repo::path::symbol (from search results) |
Batch Requests Efficiently
contentByteSize from search results to estimate response sizeComplete Workflow Example
GET /api/search?Query=authentication&DescriptionDetail=Full to find relevant codePOST /api/search/artifacts with selected identifiers to get full contentIncludeContent=true on the search endpoint