---
title: "Trigger an immediate run of a synthetic"
method: POST
path: "/api/{org_id}/synthetics/{id}/run"
tags: ["Synthetics"]
---

# Trigger an immediate run of a synthetic

`POST /api/{org_id}/synthetics/{id}/run`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/synthetics/{id}/run`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/synthetics/:id/run/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `id` string, required

## Response `202`

Accepted — scheduler will fire within 5 seconds

## Other responses

- `404`: Not found
- `500`: Error

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
