Run a model: Web pages

On this page

Run a model (answer now) #

Text models and page readers answer in the same request, within 60 seconds. A retry with the same Idempotency-Key within 15 minutes returns the same answer without a second charge.

Errors any model in this group can return
Errors any model in this group can return
HTTPCodeWhat happenedWhat to doCredits
400invalid_requestThe request is malformed or breaks the model's input rules: the body is not JSON, a field is missing, has the wrong type or is out of bounds, or the Idempotency-Key header is missing. Extra fields: detail, which names what is wrong, such as "Idempotency-Key header is required" or "input must have required property 'prompt'".Fix the request using detail and the Alias's input_schema from GET /v1/models, then send it again. You can keep the same retry key: nothing was created.Not charged.
401invalid_keyThe API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case.Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page.Not charged.
402out_of_creditsYour balance is smaller than the price of this request. Extra fields: topup_url, your account page; required, the price of this request in credits; packs, the credit packs you can buy there, each with its credits and price_cents (an empty list when none is on sale).Add credits from your account page, or wait for your plan's next month of credits. Then send the same request with the same retry key.Not charged.
403account_disabledThe account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this.Write to video@oneupai.com.Not charged. The account's credits stay.
403account_frozenThe account is frozen for now, for example while a payment dispute is open. Extra fields: account_url.See your account page. Reading your results still works.Not charged.
403credit_debtYou have credit debt: a payment for credits you already spent was reversed. Extra fields: account_url.Settle it from your account page; new work is accepted again once it is paid.Not charged.
403entitlement_requiredYour subscription has ended: it was canceled, or a payment failed and the seven days of grace have passed. Extra fields: account_url.Renew on your account page; the same keys work again. Checking status, reading results and downloading your files still work in the meantime.Not charged.
403plan_requiredThis key belongs to an account that is no longer on an API plan, Concierge or Concierge Plus. Only keys of accounts on those plans can start work through the API. Extra fields: account_url.Move the account back to Concierge or Concierge Plus; the key works again.Not charged.
404not_foundWhat you asked for, such as a ticket, an asset, an upload, a Project or a render, does not exist or is not yours. The answer is the same either way. Extra fields: two cases add one. Asking GET /v1/queue/result/{ticket} before the work is COMPLETED answers not_found with status, the current status. Keep asking for the status, then fetch the result. A render whose Timeline names files that are not yours, or not ready, answers not_found with missing_inputs, the ids it could not use.Check the id, and that it was made with a key of this account.Not charged.
404unknown_modelNo Alias by that name is available to you.Check the name, including the oneup/ part, against GET /v1/models.Not charged.
409idempotency_conflictYou sent a retry key again with a different request.Make a new retry key for each new request. To retry the first request, send exactly the same body.This request is not charged; the first one stands.
409result_expiredYou retried a sync request more than 15 minutes after its first answer, so we no longer hold the output to send again.If you still need the output, run the request again with a new retry key. That is a new charge.The first charge stands; the work ran.
410model_retiredThis Alias was replaced, and its notice period has ended. Extra fields: replacement, the Alias to use instead (or null).Send your request to the replacement.Not charged.
413payload_too_largeThe request body is over 1 MB.Upload files first and send their file_url, instead of putting file contents in the body.Not charged.
422invalid_inputWe accepted the request, but the input could not be used: the model refused it, or the page you asked us to read could not be read. Extra fields: detail, a short reason. The page readers use these codes: listing_unreadable and listing_unreachable for a property listing; page_paywalled, page_not_article, page_unreadable and page_unreachable for an article.Change the input and send it with a new retry key.Refunded.
429daily_limit_reachedThis request would take the credits your account spent today past its daily credit limit. The count starts again at 00:00 UTC. Extra fields: limit, the daily limit in credits; renews_at, when the count starts again (the next 00:00 UTC); and the Retry-After header, the seconds until then.Send it again after renews_at, with the same retry key. Nothing ran.Not charged.
429rate_limitedYou sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds.Wait that long, then send the same request with the same retry key.Not charged.
500internal_errorSomething went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs.Send the same request again with the same retry key. If it keeps failing, send us the request_id.Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again.
502upstream_errorThe work failed on our side. GET /v1/queue/result/{ticket} also answers this for a generation that ended FAILED. Extra fields: detail is replay_of_failed when you sent a retry key again whose sync run had already failed: nothing ran again and nothing was charged. A failure as it happens has no detail.Try again with a new retry key. The same key would return the same failed generation.Refunded.
503unavailableWe are not taking this kind of request for a moment: during maintenance, when a safety limit trips, or when a service we depend on is down. Extra fields: sometimes a Retry-After header, and a request_id when a service we depend on did not answer.Wait, then send the same request with the same retry key.Not charged; if it comes after we accepted the work, the charge is refunded.

POST /v1/run/oneup/web-read-article #

Read a web article

Reads a public web article and returns its title, site, byline and readable text (up to 16,000 characters). Params: url. Listing sites go through the property-listing reader instead. Live price: GET /v1/models.

Key: API key · Credits: 2 credits · Answers now

Parameters

Parameters
NameInRequiredTypeDescription
Idempotency-Keyheaderyestext, 1–∞ charactersA unique value you make for each new job (a UUID works). Sending the same key with the same body again returns the same job and never charges twice; the same key with a different body is idempotency_conflict.

Request body

Request body
FieldRequiredTypeDescription
urlyestext, 0–500 charactersThe public article's address (https). A listing site is refused by name (use the listing reader); anything unreadable is refunded.
labelnotextOptional. A name for this job and every file it makes, shown on your account page and used as the download name. Never sent to the model.

Request

curl -X POST "https://api.oneupai.com/v1/run/oneup/web-read-article" \
  -H "Authorization: Bearer $ONEUP_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.example.com/news/2026/09/15/a-public-article"
}'

Response (200)

{
  "alias": "oneup/web-read-article",
  "output": {
    "title": "City opens a new riverside park",
    "site": "Example News",
    "byline": "Jordan Lee",
    "published": "2026-09-15",
    "text": "The city opened its new riverside park on Saturday, with two miles of trail, a playground and a boat launch. …",
    "images": [
      {
        "url": "https://www.example.com/images/park-lead.jpg",
        "width": 1600,
        "height": 900,
        "alt": "Families walking on the new riverside trail"
      }
    ],
    "extraction_id": "oneup_extract_Tb7Kq2Wm9Rx4Nc1Vz8Ld3Hp6Gs"
  }
}

Errors: the same as every endpoint in this group, listed above.

POST /v1/run/oneup/web-read-listing #

Read a property listing

Reads a public property listing (Zillow, Realtor.com, Redfin, FurnishedFinder) and returns its facts, description and photo addresses. Params: url. Photos are not fetched by this capability. Live price: GET /v1/models.

Key: API key · Credits: 2 credits · Answers now

Parameters

Parameters
NameInRequiredTypeDescription
Idempotency-Keyheaderyestext, 1–∞ charactersA unique value you make for each new job (a UUID works). Sending the same key with the same body again returns the same job and never charges twice; the same key with a different body is idempotency_conflict.

Request body

Request body
FieldRequiredTypeDescription
urlyestext, 0–500 charactersThe public listing address (https) on Zillow, Realtor.com, Redfin or FurnishedFinder. Supported sources are resolved from the host; anything else is refused by name before any charge.
labelnotextOptional. A name for this job and every file it makes, shown on your account page and used as the download name. Never sent to the model.

Request

curl -X POST "https://api.oneupai.com/v1/run/oneup/web-read-listing" \
  -H "Authorization: Bearer $ONEUP_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.zillow.com/homedetails/205-Spanton-Cres-Pooler-GA-31322/248662806_zpid/"
}'

Response (200)

{
  "alias": "oneup/web-read-listing",
  "output": {
    "facts": {
      "address": "205 Spanton Cres, Pooler, GA 31322",
      "price": "$389,900",
      "beds": "4",
      "baths": "3",
      "sqft": 2456
    },
    "description": "Bright four-bedroom home on a quiet crescent, with an open kitchen, a screened porch and a fenced back yard.",
    "photos": [
      {
        "url": "https://photos.example.com/205-spanton/1.jpg",
        "width": 1536,
        "height": 1024
      },
      {
        "url": "https://photos.example.com/205-spanton/2.jpg",
        "width": 1536,
        "height": 1024
      }
    ],
    "extraction_id": "oneup_extract_Hq3Nw8Zr1Kt6Vb4Xm9Lc2Pd7Sy"
  }
}

Errors: the same as every endpoint in this group, listed above.