> **Reading as an AI agent?** This is the Markdown version of https://docs.meshy.ai/api/rigging-check.
>
> - Full docs index: https://docs.meshy.ai/llms.txt
> - Single-fetch full content: https://docs.meshy.ai/llms-full.txt
> - Tool-calling access via MCP server: https://docs.meshy.ai/api/ai
> - Command-line access via the Meshy CLI: https://docs.meshy.ai/api/cli

---
# Rigging Check API

Find out before you rig whether Meshy can rig and animate a model, and which `animation_type` it fits. To rig the model, see the [Rigging API](/api/rigging).

---

## POST /openapi/v1/rigging/check -- Create a Rigging Check task

Creates a Rigging Check task. The task checks whether Meshy can rig and animate the model of one of your tasks, and which `animation_type` it fits. It runs in the background, as described in [Task lifecycle](/api/task-lifecycle#how-a-task-runs).

The check is optional. You can [create a Rigging task](/api/rigging#create-a-rigging-task) without it, and its answer doesn't change what Rigging does. It helps you skip models that Rigging doesn't support, such as a car or a bird.

The check looks at the task's preview image. `riggable` is `true` when the model meets all of these rules:
* It has one character.
* The character is a humanoid (biped) or a four-legged animal (quadruped).
* It stands, and a four-legged animal stands on all four legs.
* Its arms and legs are clear of the body and of each other.
* It doesn't stand on a base or pedestal.
* It faces the front.
* It's within the face limit of [Rigging](/api/rigging#create-a-rigging-task).

### Parameters

  - `input_task_id` · *string* · **required**

  The ID of the task whose model you want to check. It must be one of your API tasks that has `SUCCEEDED` and has a preview image, for example a Text to 3D, Image to 3D, Remesh, or Retexture task.

### Returns

`202 Accepted`. The `result` field of the response holds the ID of the new Rigging Check task.

### Failure modes

  - `400 - Bad Request`

  The request can't run. The error message says which problem it found. For example:
  * **Missing parameter**: `input_task_id` wasn't sent.
  * **Input task not found**: `input_task_id` doesn't match any of your tasks.
  * **Invalid input task**: `input_task_id` doesn't refer to an API task.
  * **Input task not ready**: The `input_task_id` task hasn't reached `SUCCEEDED`. Wait until it succeeds, then retry.

  Fix the request, then send it again. See [Errors](/api/errors#request-errors).

  - `401 - Unauthorized`

  The API key is missing or invalid. Check the `Authorization` header.

  - `402 - Payment Required`

  For example:
  * **Insufficient credits**: The account doesn't have enough credits, or the account reached a credit limit. Check your credit balance, then retry.
  * **Free plan**: The check requires a paid plan. Upgrade your plan in your [subscription settings](https://www.meshy.ai/settings/subscription), then retry.

  - `403 - Forbidden`

  `input_task_id` is a bas-relief model, which Meshy can't check. The message is `This model type does not support this operation`. Send a different model.

  - `404 - Not Found`

  Meshy can't find the preview image of the `input_task_id` task. One of these applies:
  * Meshy deleted the task's files after its `expires_at`. Create the task again, then send that task's ID.
  * The task has no preview image, for example a Convert, Resize, or Text to Image task. Check the task it came from.

  - `429 - Too Many Requests`

  You exceeded your rate limit, or you have too many pending tasks. Wait, then retry. See [Rate limits](/api/rate-limits).

A task that Meshy created can still fail. For the reasons, see `task_error` in the [Rigging Check task object](#the-rigging-check-task-object).

**cURL**

```bash
# Check whether a model can be rigged
curl https://api.meshy.ai/openapi/v1/rigging/check \
  -X POST \
  -H "Authorization: Bearer ${YOUR_API_KEY}" \
  -H 'Content-Type: application/json' \
  -d '{
    "input_task_id": "018a210d-8ba4-705c-b111-1f1776f7f578"
  }'
```

```javascript
import axios from 'axios'

// Check whether a model can be rigged
const headers = { Authorization: `Bearer ${YOUR_API_KEY}` };
const payload = {
  input_task_id: "018a210d-8ba4-705c-b111-1f1776f7f578"
};

try {
  const response = await axios.post(
    'https://api.meshy.ai/openapi/v1/rigging/check',
    payload,
    { headers }
  );
  console.log(response.data);
} catch (error) {
  console.error(error);
}
```

```python
import requests

# Check whether a model can be rigged
payload = {
    "input_task_id": "018a210d-8ba4-705c-b111-1f1776f7f578"
}
headers = {
    "Authorization": f"Bearer {YOUR_API_KEY}"
}

response = requests.post(
    "https://api.meshy.ai/openapi/v1/rigging/check",
    headers=headers,
    json=payload,
)
response.raise_for_status()
print(response.json())
```

**Response**

```json
{
  "result": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70"
}
```

---

## GET /openapi/v1/rigging/check/:id -- Get a Rigging Check task

Returns a Rigging Check task by its ID.

### Parameters

  - `id` · *path*

  The task ID from the create response.

### Returns

The [Rigging Check task object](#the-rigging-check-task-object). Its `result` field isn't present until the task is `SUCCEEDED`.

**cURL**

```bash
curl https://api.meshy.ai/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70 \
  -H "Authorization: Bearer ${YOUR_API_KEY}"
```

```javascript
import axios from 'axios'

const taskId = '0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70';
const headers = { Authorization: `Bearer ${YOUR_API_KEY}` };

try {
  const response = await axios.get(
    `https://api.meshy.ai/openapi/v1/rigging/check/${taskId}`,
    { headers }
  );
  console.log(response.data);
} catch (error) {
  console.error(error);
}
```

```python
import requests

task_id = "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70"
headers = {
    "Authorization": f"Bearer {YOUR_API_KEY}"
}

response = requests.get(
    f"https://api.meshy.ai/openapi/v1/rigging/check/{task_id}",
    headers=headers,
)
response.raise_for_status()
print(response.json())
```

**Response**

```json
{
  "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
  "type": "rig-check",
  "status": "SUCCEEDED",
  "progress": 100,
  "created_at": 1790640079880,
  "started_at": 1790640080112,
  "finished_at": 1790640086935,
  "expires_at": 1790899286935,
  "task_error": null,
  "result": {
    "riggable": false,
    "animation_type": "biped",
    "animatable": false,
    "reasons": [
      {
        "code": "limbs_not_separated",
        "message": "The arms or legs touch the body or each other. Generate it in a T-pose or A-pose with the limbs clear of the body."
      }
    ]
  },
  "consumed_credits": 1
}
```

---

## DELETE /openapi/v1/rigging/check/:id -- Delete a Rigging Check task

Permanently deletes a Rigging Check task, including its answer. You can't undo a delete.

### Path parameters

  - `id` · *path*

  The ID of the task to delete.

### Task status

Deleting a `PENDING` task refunds the credit it used when you created it.

An `IN_PROGRESS` task can't be deleted. The request returns `409 Conflict`,
and the task keeps running. Meshy doesn't refund a task that has started,
so deleting it would cost you both the credit and the answer. Wait for it
to reach `SUCCEEDED` or `FAILED`, then delete it.

Deleting a task in a final status (`SUCCEEDED` or `FAILED`) doesn't refund
its credit.

### Returns

`200 OK` when the task is deleted, or `409 Conflict` when the task is
`IN_PROGRESS`.

**cURL**

```bash
curl --request DELETE \
  --url https://api.meshy.ai/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70 \
  -H "Authorization: Bearer ${YOUR_API_KEY}"
```

```javascript
import axios from 'axios'

const taskId = '0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70'
const headers = { Authorization: `Bearer ${YOUR_API_KEY}` }

try {
  await axios.delete(
    `https://api.meshy.ai/openapi/v1/rigging/check/${taskId}`,
    { headers }
  )
} catch (error) {
  console.error(error)
}
```

```python
import requests

task_id = "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70"
headers = {
    "Authorization": f"Bearer {YOUR_API_KEY}"
}

response = requests.delete(
    f"https://api.meshy.ai/openapi/v1/rigging/check/{task_id}",
    headers=headers,
)
response.raise_for_status()
```

**Response**

```json
// 200 OK on success, with an empty body.
//
// 409 Conflict when the task is IN_PROGRESS. The task keeps running:
{
  "message": "Task is IN_PROGRESS and cannot be deleted. Credits for a task the worker has already started are not refundable; wait for it to reach SUCCEEDED, FAILED or CANCELED, then delete it."
}
```

---

## GET /openapi/v1/rigging/check -- List Rigging Check tasks

Returns a list of your Rigging Check tasks.

### Parameters

  - `page_num` · *integer* · default: `1`

  The page number to return, starting at `1`.

  - `page_size` · *integer* · default: `10`

  The number of tasks per page, up to `100`.

  - `sort_by` · *string*

  The sort order.

  Available values:
  * `+created_at`: oldest first
  * `-created_at`: newest first

### Returns

A paginated list of [Rigging Check task objects](#the-rigging-check-task-object).

**cURL**

```bash
curl https://api.meshy.ai/openapi/v1/rigging/check?page_size=10 \
  -H "Authorization: Bearer ${YOUR_API_KEY}"
```

```javascript
import axios from 'axios'

const headers = { Authorization: `Bearer ${YOUR_API_KEY}` };

try {
  const response = await axios.get(
    `https://api.meshy.ai/openapi/v1/rigging/check?page_size=10`,
    { headers }
  );
  console.log(response.data);
} catch (error) {
  console.error(error);
}
```

```python
import requests

headers = {
    "Authorization": f"Bearer {YOUR_API_KEY}"
}

response = requests.get(
    "https://api.meshy.ai/openapi/v1/rigging/check",
    headers=headers,
    params={"page_size": 10}
)
response.raise_for_status()
print(response.json())
```

**Response**

```json
[
  {
    "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
    "type": "rig-check",
    "status": "SUCCEEDED",
    "progress": 100,
    "created_at": 1790640079880,
    "started_at": 1790640080112,
    "finished_at": 1790640086935,
    "expires_at": 1790899286935,
    "task_error": null,
    "result": {
      "riggable": true,
      "animation_type": "biped",
      "animatable": true,
      "reasons": []
    },
    "consumed_credits": 1
  }
]
```

---

## GET /openapi/v1/rigging/check/:id/stream -- Stream a Rigging Check task

Streams a Rigging Check task's updates as Server-Sent Events (SSE).

### Parameters

  - `id` · *path*

  The task ID from the create response.

### Returns

A stream of [Rigging Check task objects](#the-rigging-check-task-object) as Server-Sent Events.

Each event holds the full task object, in the same shape the Get endpoint
returns. While the task is `PENDING` or `IN_PROGRESS`, `finished_at` is
`0`. Meshy sends the `result` field only after the task is `SUCCEEDED`.

**cURL**

```bash
curl -N https://api.meshy.ai/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70/stream \
  -H "Authorization: Bearer ${YOUR_API_KEY}"
```

```javascript
const response = await fetch(
  'https://api.meshy.ai/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70/stream',
  {
    headers: { Authorization: `Bearer ${YOUR_API_KEY}` }
  }
);

const reader = response.body.getReader();
const decoder = new TextDecoder();
let buffer = '';
let event = 'message';

while (true) {
  const { done, value } = await reader.read();
  if (done) break;

  buffer += decoder.decode(value, { stream: true });
  const lines = buffer.split('\n');
  buffer = lines.pop();

  for (const line of lines) {
    if (line.startsWith('event:')) {
      event = line.slice(6).trim();
    } else if (line.startsWith('data:')) {
      const data = JSON.parse(line.slice(5));
      console.log(event, data);

      if (event === 'error') {
        reader.cancel(); // {"status_code": ..., "message": ...}
      } else if (['SUCCEEDED', 'FAILED'].includes(data.status)) {
        reader.cancel();
      }
    }
  }
}
```

```python
import requests
import json

headers = {
    "Authorization": f"Bearer {YOUR_API_KEY}",
    "Accept": "text/event-stream"
}

response = requests.get(
    'https://api.meshy.ai/openapi/v1/rigging/check/0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70/stream',
    headers=headers,
    stream=True
)

event = 'message'
for line in response.iter_lines():
    if not line:
        continue
    if line.startswith(b'event:'):
        event = line.decode('utf-8')[6:].strip()
    elif line.startswith(b'data:'):
        data = json.loads(line.decode('utf-8')[5:])
        print(event, data)

        if event == 'error':
            break  # {"status_code": ..., "message": ...}
        if data['status'] in ['SUCCEEDED', 'FAILED']:
            break

response.close()
```

**Response Stream**

```javascript
// Error event example
event: error
data: {
  "status_code": 404,
  "message": "Task not found"
}

// Message event examples illustrate task progress.
// Every frame is the full task object.
// The following PENDING frame is abbreviated to the fields that change.
event: message
data: {
  "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
  "progress": 0,
  "status": "PENDING"
}

event: message
data: {
  "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
  "type": "rig-check",
  "status": "SUCCEEDED",
  "progress": 100,
  "created_at": 1790640079880,
  "started_at": 1790640080112,
  "finished_at": 1790640086935,
  "expires_at": 1790899286935,
  "task_error": null,
  "result": {
    "riggable": true,
    "animation_type": "quadruped",
    "animatable": true,
    "reasons": []
  },
  "consumed_credits": 1
}
```

---

## The Rigging Check task object
A Rigging Check task object describes one check of a model. It holds the status, the progress, and the answer when the task succeeds.

  - `id` · *string*

  The task ID. Treat it as an opaque string, and don't rely on its format.

  - `type` · *string*

  The task type, always `rig-check`.

  - `status` · *string*

  The task status, one of `PENDING`, `IN_PROGRESS`, `SUCCEEDED`, or `FAILED`.

  - `progress` · *integer*

  How much of the task is done, as a percentage. It's `0` until the task starts and `100` when it succeeds.

  - `preceding_tasks` · *integer*

  The number of tasks ahead of this one in the queue. The value is meaningful only while the task is `PENDING`. The field is left out when the value is `0`.

  - `created_at` · *timestamp*

  Time the task was created, in Unix milliseconds.

  - `started_at` · *timestamp*

  Time the task started, in Unix milliseconds. It's `0` until the task starts.

  - `finished_at` · *timestamp*

  Time the task finished, in Unix milliseconds. It's `0` until the task finishes.

  - `expires_at` · *timestamp*

  Time the task's answer expires, in Unix milliseconds. It's `0` until the task finishes.

  - `task_error` · *object*

  The error details when the task fails. It's `null` unless the status is `FAILED`. A Rigging Check task fails for one of these reasons:
  * `code` is `moderation_blocked`: the model's preview image might not comply with Meshy's platform rules. Send a different model.
  * `type` is `service_unavailable`: Meshy couldn't check the model. Create the task again.

  Meshy refunds the credit of a failed task. See [Errors](/api/errors#task-errors).

- `type` · *string*

  The error category, for example `invalid_input` or `service_unavailable`.

- `code` · *string*

  The specific problem, such as `moderation_blocked`. Present when Meshy has more details.

- `message` · *string*

  A description of what went wrong.

  - `result` · *object*

  The answer. It isn't present until the task is `SUCCEEDED`.

- `riggable` · *boolean*

  Whether the model meets all of the rules on this page. When it's `false`, `reasons` says why.

- `animation_type` · *string*

  The kind of character the model is, even when `riggable` is `false`.

Available values:
* `biped`: a humanoid character. Send it as `animation_type` when you create a Rigging task.
* `quadruped`: a four-legged animal. Send it as `animation_type` when you create a Rigging task.
* `other`: anything else, such as a bird, an octopus, or a prop. Rigging doesn't support it.

- `animatable` · *boolean*

  Whether the [Animation API](/api/animation) can animate the model after you rig it. It's never `true` when `riggable` is `false`.

- `reasons` · *array*

  Why `riggable` or `animatable` is `false`, in a fixed order. It's an empty array when both are `true`.

  - `code` · *string*

  What's wrong with the model, for your code to act on. Meshy may add codes, so treat a code you don't recognize as a reason the model doesn't fit.

  Available values:
  * `not_a_character`: the model isn't a person or a creature, for example a vehicle or a prop.
  * `unsupported_body_type`: the creature is neither a humanoid nor a four-legged animal, for example a bird, a snake, or an octopus.
  * `multiple_subjects`: the model has more than one character.
  * `has_base`: the character stands on a base or pedestal.
  * `not_standing`: the character sits, lies, kneels, or crouches, or a four-legged animal isn't on all four legs.
  * `limbs_not_separated`: the arms or legs touch the body or each other.
  * `facing_away`: the character faces away from the front.
  * `too_many_faces`: the model is over the face limit of [Rigging](/api/rigging#create-a-rigging-task). Run the [Remesh API](/api/remesh) on it first.

  - `message` · *string*

  The same reason as a sentence for a person, with how to fix the model. For `too_many_faces`, it gives the model's triangle count and the Remesh settings to use. The wording can change, so branch on `code`, not on `message`.

  - `consumed_credits` · *integer*

  The number of credits the task used. It's `1`, or `0` for a `FAILED` task, because Meshy refunds the credit when a task fails.

**The Rigging Check Task Object**

```json
{
  "id": "0193c1a2-5b7e-7d4f-9a3c-8e2f1b6d4c70",
  "type": "rig-check",
  "status": "SUCCEEDED",
  "progress": 100,
  "created_at": 1790640079880,
  "started_at": 1790640080112,
  "finished_at": 1790640086935,
  "expires_at": 1790899286935,
  "task_error": null,
  "result": {
    "riggable": false,
    "animation_type": "biped",
    "animatable": false,
    "reasons": [
      {
        "code": "limbs_not_separated",
        "message": "The arms or legs touch the body or each other. Generate it in a T-pose or A-pose with the limbs clear of the body."
      }
    ]
  },
  "consumed_credits": 1
}
```
