---
title: "actor.a2a-task-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/actor.a2a-task-result"
updated: null
---

# actor.a2a-task-result@1 · OpenVibe.Services

HTML: [actor.a2a-task-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/actor.a2a-task-result)

# ActorA2ATaskResult `actor.a2a-task-result@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: actor
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/actor/a2a-task-result.v1.json`](/docs/contracts/actor.a2a-task-result.json)

actor.a2a-task-result@1: the A2A task OpenVibe.Actor accepted or answered: its id, its state (submitted, working, completed, failed), the text answer when it has one and the id of the Actor task behind it. Never a credential.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  | - `maxLength 64` |
| `state` | enum | yes |  | - `one of "submitted", "working", "completed", "failed"` |
| `answer` | string |  |  | - `maxLength 20000` |
| `taskId` | string |  |  | - `maxLength 64` |
| `error` | string |  |  | - `maxLength 500` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: one

~~~~
{
  "id": "a2a_1",
  "state": "completed",
  "answer": "Sunny, 21 °C.",
  "taskId": "tsk_1"
}
~~~~

Rejected: bad-state

~~~~
{
  "id": "a2a_1",
  "state": "maybe"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('actor.a2a-task-result@1', value);   // { valid, errors: [{ path, message }] }
~~~~
