Перейти к содержимому

Let clips arrive on their own

Это содержимое пока не доступно на вашем языке.

any keywritestest key only

TEST SPACE ONLY.

Everything the agent is told about this tool

TEST SPACE ONLY. Sets the space’s standing traffic: made-up clips that arrive on their own, clipsPerDay of them per day of the space’s clock, spread evenly, each on its way to viewsPerClip views and inflatedPercent of them with inflated views. They are filed into the space’s live campaigns in turn (a paused campaign or a draft gets none), by the world’s steps that run with your ordinary calls — so to see them, call anything: review_queue lists what arrived. Move the clock with sandbox_simulate_clips { advanceDays } and a day’s traffic is there. Setting the pace starts the count over from the space’s now; clipsPerDay: 0 stops it. Every space starts with no traffic, and a reset returns it to none. The creators and clips are not real people and never appear anywhere but this test space. Send an idempotencyKey; dryRun: true checks and sets nothing.

Name Type Required Description
clipsPerDay integer yes How many made-up clips arrive per day of the space’s clock, on their own, spread evenly (0 to 48). 0 stops the traffic. They are filed into the space’s live campaigns in turn, by the world’s steps that run with your calls; a clip that falls due while no campaign is live passes by. At most 25 are filed per step, the rest at the next.
viewsPerClip integer no How many views each arriving clip is on its way to over its window (default 20000; at most 1000000).
inflatedPercent integer no Of every hundred arriving clips, how many have inflated views (default 0), which the platform’s real checks judge, not this tool.
idempotencyKey string no Any unique string for this attempt, for example a UUID. Sending the same key and body again returns the first answer instead of writing twice.
dryRun boolean no When true, runs every check and returns what would happen, and keeps nothing: no draft, no log entry, no event.

A write: send an idempotencyKey (any unique string for this one intent). A call with dryRun: true needs none.

curl https://countviews.com/api/public/v1/call \
-H "Authorization: Bearer $COUNTVIEWS_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"sandbox_traffic","arguments":{"clipsPerDay":6,"viewsPerClip":20000,"inflatedPercent":10,"idempotencyKey":"traffic-1"}}'