Parameters
- params: GetQuestionParams
Returns Promise<
{
questionId: string;
derivedScope: string;
sourceScopes: string[];
question: string;
model: string
| null;
registeredBy:
| { kind: "owner" }
| { kind: "builder"; builder: string; grantId: string };
status: "pending" | "failed" | "ready" | "stale";
error: string | null;
errorCode:
| "internal"
| "inference_unavailable"
| "source_missing"
| "grant_invalid"
| null;
createdAt: string;
updatedAt: string
| null;
lastComputedAt: string | null;
derivedVersion: number | null;
derivedCollectedAt: string | null;
},
>
The registration, including status, lastComputedAt,
derivedVersion and (when it failed) error.
Read one question's current state.