Agent skill · IgorVaryvoda

sirv-api

Sirv REST API integration for image and file management. Use when working with Sirv CDN, uploading/downloading files to Sirv, managing image metadata, searching files, creating 360 spins, converting videos, or any Sirv API operations. Covers authentication, file operations, metadata, search queries, async jobs, and account management.

What it needs

About 4k tokens when loaded.

What this skill does

Sirv REST API Base URL: https://api.sirv.com Official Sources First Check current Sirv docs before changing endpoint fields, path escaping, metadata field names, or pagination behavior: https://apidocs.sirv.com/ https://sirv.com/help/articles/search-files-with-the-api/ https://sirv.com/help/articles/add-meta-with-the-api/ https://sirv.com/help/articles/sirv-api/ Authentication All requests require a Bearer token from /v2/token: Response: Use token in subsequent requests: Tokens expire in 20 minutes. Request a new one before expiry. Debugging Workflow 1. Identify the exact endpoint and method in play. 2. Reproduce or inspect the request body, query string, and response body. 3. Compare the request shape against the official docs before patching code. 4. Separate auth/token failures from Sirv payload/query failures. 5. Preserve upstream status and useful Sirv error detail when surfacing failures. 6. Add a focused regression test or fixture for the exact endpoint/query that failed. Operational Rules URL-encode file and folder paths in query strings, especially / as %2F. Refresh tokens in long-running scripts; do not assume a token survives a bulk migration. Check /v2/account/limits before bulk search/upload/delete jobs. Use /v2/files/fetch to import remote originals directly into Sirv when source URLs are stable. Preserve catalog context with metadata after upload: title, description, tags, product fields, and approval state. Search returns up to 100 results per page. Use from for normal pagination and scrolling search for more than 1000 results. Scrolling search is a point-in-time snapshot and is cached for about 20 minutes; download results promptly. Escape search special characters in paths: { } / \ ! space. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills IgorVaryvoda/sirv-api

View the source on GitHub

Browse the @skills marketplace