Content
Dismiss, restore or publish
Move an opportunity: dismiss one that isn't relevant, restore a dismissed one, or mark its draft published so the platform starts measuring the effect.
https://api.vidrys.com/v1/projects/{project_id}/content-assets/{asset_id}/state- Plan
- Track and above
- Key
- read-and-write
- Rate cost
- 1 unit
- MCP tool
- set_content_asset_state
mark_published only works on an opportunity whose draft is ready, and it starts verification — from then on, each prompt and engine is re-measured against the published page.
A move the workflow doesn't allow answers 409 conflict and names the states involved.
Reviewed by Garvit Sharma, Co-founder, on 4 November 2026. This call is included from the Track plan, ₹6,999 a month in INR before 18% GST. Requests and responses follow HTTP semantics (RFC 9110), bearer tokens (RFC 6750) and JSON.
What does the request need?
A POST request to /v1/projects/{project_id}/content-assets/{asset_id}/state sends one header, an API key with read-and-write access, and takes 2 path parameters and 1 body field. Each part is listed below.
Sent as a header on every request.
AuthorizationstringrequiredA Vidrys API key, sent as Bearer vidrys_sk_…. This call changes data, so the key must be read-and-write. See Authentication.
Path parameters
project_idstringrequiredThe project's id, from List projects.
asset_idstringrequiredThe opportunity's id, from List content opportunities.
Request body
application/json
actionenum<string>requiredWhat to do.
Values:dismissrestoremark_published
What does it return? · 200
application/json
okbooleanTrue when the change was made.
idstringnullableThe item changed.
statusstringnullableIts state or status after the change.
messagestringnullableReserved. Null today.
Which errors can it return?
| 403 write_not_allowed | The key or connection is read-only, or it belongs to a viewer. Writes need a read-and-write key or connection, from a member who can edit. |
| 409 conflict | The item isn't in a state that allows the change — for example marking an opportunity published before it has a draft, or drafting one that is already being drafted. |
| 404 not_found | The project or item doesn't exist in this workspace. A project from another workspace also returns 404, never 403. |
| 422 invalid_request | A parameter or body field is missing or has the wrong type or value. The message names the field. Also returned when a write would pass the plan's prompt limit. |
| 401 unauthorized | No key was sent, or the key is unknown, revoked or expired, or the member who created it has left the workspace or been deactivated. |
| 402 plan_required | The workspace's plan doesn't include API access. It's included on every plan from Track up — Solo is the one without it. |
| 403 workspace_not_approved | The workspace is still waiting for approval, or wasn't approved. |
| 429 rate_limited | Too many requests this minute. Wait for the number of seconds in the `Retry-After` header, then retry. |
Every code, and what to retry, is in Errors.