> For the complete documentation index, see [llms.txt](https://knowledgebase.fabricdata.com/studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.fabricdata.com/studio/integrations-and-apis/origin-studio-production-api/working-sets.md).

# Working Sets

Manage your tenant's Working Sets.

## List working sets

> Lists the Working Sets you can read in your tenant, newest first within each page.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"WorkingSetFindManyResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetFindManyResponse","description":"A page of Working Sets. Follow `links.next` while it is non-null.","type":"object","additionalProperties":false,"required":["data","links","jsonapi"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WorkingSetResource"}},"links":{"type":"object","required":["self"],"additionalProperties":false,"properties":{"self":{"type":"string"},"next":{"type":["string","null"]}}},"meta":{"type":"object","additionalProperties":false,"properties":{"cursor":{"type":"string"},"filters":{"type":"object","additionalProperties":false,"properties":{"status":{"$ref":"#/components/schemas/WorkingSetAttributeStatus"}}}}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"WorkingSetResource":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetResource","description":"A Working Set as a JSON:API resource object.","allOf":[{"$ref":"#/components/schemas/WorkingSetResourceType"},{"type":"object","required":["id","type","attributes","relationships","links"],"additionalProperties":false,"properties":{"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/WorkingSetAttributes"},"relationships":{"$ref":"#/components/schemas/WorkingSetRelationships"},"links":{"$ref":"#/components/schemas/LinksSelf"}}}]},"WorkingSetResourceType":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetResourceType","description":"JSON:API type of Working Set resources: always `\"workingSets\"`.","type":"object","required":["type"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["workingSets"]}}},"WorkingSetAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributes","description":"Working Set attributes, plus the system-managed `status`, `recordCount` and timestamps.","allOf":[{"$ref":"#/components/schemas/WorkingSetAttributesInput"},{"$ref":"#/components/schemas/BaseResourceAttributes"},{"type":"object","required":["status","recordCount"],"additionalProperties":false,"properties":{"status":{"$ref":"#/components/schemas/WorkingSetAttributeStatus"},"recordCount":{"type":"integer","minimum":0,"description":"Records in the Working Set. Can trail a membership change by a few seconds."}}}]},"WorkingSetAttributesInput":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributesInput","description":"Attributes you set on a Working Set.","type":"object","required":["name","purposeOfWork"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":250,"description":"Identifies the Working Set."},"purposeOfWork":{"type":"string","minLength":1,"maxLength":250,"description":"The specific job to do, as one short, explicit statement of intent."},"orchestrationReference":{"type":"string","maxLength":2048,"description":"The external workflow reference driving the work, such as a ticket key or URL."}}},"BaseResourceAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IBaseResourceAttributes","description":"Timestamps on every resource's attributes, as ISO 8601 date-times. `created` marks the resource's creation; `updated` marks its last change.","type":"object","additionalProperties":false,"required":["created","updated"],"properties":{"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"WorkingSetAttributeStatus":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributeStatus","description":"Working Set lifecycle status:\n- `OPEN`: accepts membership changes.\n- `CLOSED`: frozen.\n- `DELETING`: a delete is in progress and the Working Set is about to disappear. It refuses every change and doesn't appear under `OPEN` or `CLOSED`.","type":"string","enum":["OPEN","CLOSED","DELETING"]},"WorkingSetRelationships":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetRelationships","description":"The Working Set's tenant, creator and records. `records.data` holds identifiers only in a create response; otherwise follow `records.links.related`.","type":"object","required":["tenant","creator","records"],"additionalProperties":false,"properties":{"tenant":{"$ref":"#/components/schemas/TenantRelationship"},"creator":{"$ref":"#/components/schemas/WorkingSetCreatorRelationship"},"records":{"type":"object","required":["links"],"additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/data"}},"links":{"$ref":"#/components/schemas/LinksRelated"}}}}},"TenantRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ITenantRelationship","description":"A relationship to a tenant","type":"object","properties":{"data":{"additionalProperties":false,"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["tenants"]}},"required":["id","type"]},"links":{"$ref":"#/components/schemas/LinksRelated"}},"required":["data","links"],"additionalProperties":false},"LinksRelated":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinks","description":"A JSON:API links object with an absolute or relative 'related' link","type":"object","required":["related"],"properties":{"related":{"type":"string"}},"additionalProperties":false},"WorkingSetCreatorRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetCreatorRelationship","description":"The user or API client that created the Working Set. `data.type` is `users` for an interactive user and `apiKeys` for a machine client; `meta.name` holds the creator's display name at creation time.","type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"type":"object","required":["id","type"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["users","apiKeys"]}}},"meta":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"The creator's display name at creation time."}}},"links":{"$ref":"#/components/schemas/LinksRelated"}}},"data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["records"]}},"required":["id","type"]},"LinksSelf":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinksSelf","description":"A JSON:API links object with an absolute or relative 'self' link","type":"object","required":["self"],"properties":{"self":{"type":"string"}},"additionalProperties":false},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}}}},"paths":{"/workingSets":{"get":{"summary":"List working sets","operationId":"workingSetFindMany","description":"Lists the Working Sets you can read in your tenant, newest first within each page.","tags":["Working Sets"],"parameters":[{"name":"filter.status","in":"query","description":"Filter by status: `OPEN` or `CLOSED`. Defaults to `OPEN`.","schema":{"type":"string","enum":["OPEN","CLOSED"]}},{"name":"page.cursor","in":"query","description":"Pagination cursor from the previous page's `links.next`.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetFindManyResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Create a working set

> Creates a Working Set as \`OPEN\`, with you as its creator. Links up to 99 records in the same request: all or none. Add more with \`POST /workingSets/{workingSetId}/relationships/records\`, 99 per request. A tenant holds at most 100 \`OPEN\` Working Sets; one more answers 409.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"WorkingSetCreateOneRequest":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetCreateOneRequest","description":"A new Working Set, with up to 99 records to link: the create lands whole or not at all. Add more records with `POST /workingSets/{workingSetId}/relationships/records`, 99 per request, up to 50000 per Working Set.","type":"object","required":["data"],"additionalProperties":false,"properties":{"meta":{"$ref":"#/components/schemas/WriteRequestMeta"},"data":{"type":"object","required":["type","attributes"],"additionalProperties":false,"properties":{"type":{"type":"string","enum":["workingSets"]},"attributes":{"$ref":"#/components/schemas/WorkingSetAttributesInput"},"relationships":{"type":"object","additionalProperties":false,"properties":{"records":{"type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/data"},"minItems":1,"maxItems":99}}}}}}}}},"WriteRequestMeta":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWriteRequestMeta","description":"Audit metadata for a write request. `audit.source` names the surface that sent it, such as `studio-web`, `studio-mcp`, `api` or `system`; `audit.reason` is a free-text justification.","type":"object","additionalProperties":false,"properties":{"audit":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string","maxLength":64},"reason":{"type":"string","maxLength":256}}}}},"WorkingSetAttributesInput":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributesInput","description":"Attributes you set on a Working Set.","type":"object","required":["name","purposeOfWork"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":250,"description":"Identifies the Working Set."},"purposeOfWork":{"type":"string","minLength":1,"maxLength":250,"description":"The specific job to do, as one short, explicit statement of intent."},"orchestrationReference":{"type":"string","maxLength":2048,"description":"The external workflow reference driving the work, such as a ticket key or URL."}}},"data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["records"]}},"required":["id","type"]},"WorkingSetCreateOneResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetCreateOneResponse","description":"The created Working Set.","type":"object","additionalProperties":false,"required":["data","jsonapi"],"properties":{"data":{"$ref":"#/components/schemas/WorkingSetResource"},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"WorkingSetResource":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetResource","description":"A Working Set as a JSON:API resource object.","allOf":[{"$ref":"#/components/schemas/WorkingSetResourceType"},{"type":"object","required":["id","type","attributes","relationships","links"],"additionalProperties":false,"properties":{"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/WorkingSetAttributes"},"relationships":{"$ref":"#/components/schemas/WorkingSetRelationships"},"links":{"$ref":"#/components/schemas/LinksSelf"}}}]},"WorkingSetResourceType":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetResourceType","description":"JSON:API type of Working Set resources: always `\"workingSets\"`.","type":"object","required":["type"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["workingSets"]}}},"WorkingSetAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributes","description":"Working Set attributes, plus the system-managed `status`, `recordCount` and timestamps.","allOf":[{"$ref":"#/components/schemas/WorkingSetAttributesInput"},{"$ref":"#/components/schemas/BaseResourceAttributes"},{"type":"object","required":["status","recordCount"],"additionalProperties":false,"properties":{"status":{"$ref":"#/components/schemas/WorkingSetAttributeStatus"},"recordCount":{"type":"integer","minimum":0,"description":"Records in the Working Set. Can trail a membership change by a few seconds."}}}]},"BaseResourceAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IBaseResourceAttributes","description":"Timestamps on every resource's attributes, as ISO 8601 date-times. `created` marks the resource's creation; `updated` marks its last change.","type":"object","additionalProperties":false,"required":["created","updated"],"properties":{"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"WorkingSetAttributeStatus":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributeStatus","description":"Working Set lifecycle status:\n- `OPEN`: accepts membership changes.\n- `CLOSED`: frozen.\n- `DELETING`: a delete is in progress and the Working Set is about to disappear. It refuses every change and doesn't appear under `OPEN` or `CLOSED`.","type":"string","enum":["OPEN","CLOSED","DELETING"]},"WorkingSetRelationships":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetRelationships","description":"The Working Set's tenant, creator and records. `records.data` holds identifiers only in a create response; otherwise follow `records.links.related`.","type":"object","required":["tenant","creator","records"],"additionalProperties":false,"properties":{"tenant":{"$ref":"#/components/schemas/TenantRelationship"},"creator":{"$ref":"#/components/schemas/WorkingSetCreatorRelationship"},"records":{"type":"object","required":["links"],"additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/data"}},"links":{"$ref":"#/components/schemas/LinksRelated"}}}}},"TenantRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ITenantRelationship","description":"A relationship to a tenant","type":"object","properties":{"data":{"additionalProperties":false,"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["tenants"]}},"required":["id","type"]},"links":{"$ref":"#/components/schemas/LinksRelated"}},"required":["data","links"],"additionalProperties":false},"LinksRelated":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinks","description":"A JSON:API links object with an absolute or relative 'related' link","type":"object","required":["related"],"properties":{"related":{"type":"string"}},"additionalProperties":false},"WorkingSetCreatorRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetCreatorRelationship","description":"The user or API client that created the Working Set. `data.type` is `users` for an interactive user and `apiKeys` for a machine client; `meta.name` holds the creator's display name at creation time.","type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"type":"object","required":["id","type"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["users","apiKeys"]}}},"meta":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"The creator's display name at creation time."}}},"links":{"$ref":"#/components/schemas/LinksRelated"}}},"LinksSelf":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinksSelf","description":"A JSON:API links object with an absolute or relative 'self' link","type":"object","required":["self"],"properties":{"self":{"type":"string"}},"additionalProperties":false},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}}}},"paths":{"/workingSets":{"post":{"summary":"Create a working set","operationId":"workingSetCreateOne","description":"Creates a Working Set as `OPEN`, with you as its creator. Links up to 99 records in the same request: all or none. Add more with `POST /workingSets/{workingSetId}/relationships/records`, 99 per request. A tenant holds at most 100 `OPEN` Working Sets; one more answers 409.","tags":["Working Sets"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetCreateOneRequest"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetCreateOneResponse"}}}},"400":{"description":"Bad Request, including a record reference that matches no record in your tenant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict: the tenant already holds the maximum number of `OPEN` Working Sets","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Search working sets

> Searches the Working Sets you can read in your tenant with the shared condition-group query language. Searchable: name, purpose of work, orchestration reference, status, creator, record count and timestamps. Orders newest first unless you pass \`sort\`. Results trail the latest writes by a moment.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"WorkingSetSearchRequest":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetSearchRequest","description":"A Working Set search: a tree of condition groups joined by `AND`, `OR` or `NOT`. Each leaf condition compares one indexed Working Set field to a value.","type":"object","required":["data"],"additionalProperties":false,"properties":{"meta":{"$ref":"#/components/schemas/WriteRequestMeta"},"data":{"type":"object","required":["type","attributes"],"additionalProperties":false,"properties":{"type":{"type":"string","enum":["searchQueries"]},"attributes":{"type":"object","required":["group"],"additionalProperties":false,"properties":{"group":{"$ref":"#/components/schemas/IWorkingSetQueryGroup"}}}}}},"definitions":{"IWorkingSetOperator":{"type":"string","description":"Comparison operator for a condition:\n- `eq`: exact match\n- `ne`: exact exclusion\n- `contains`: substring or token match\n- `not_contains`: negation of `contains`\n- `starts_with`: prefix match\n- `lt`, `lte`, `gt`, `gte`: numeric or date range\n- `exists`: field has any non-null value\n- `not_exists`: field is absent or null","enum":["eq","ne","contains","not_contains","starts_with","lt","lte","gt","gte","exists","not_exists"]},"IWorkingSetCondition":{"type":"object","required":["field","operator"],"additionalProperties":false,"properties":{"field":{"type":"string","enum":["id","name","purposeOfWork","orchestrationReference","status","creatorId","creatorName","created","updated"]},"operator":{"$ref":"#/components/schemas/IWorkingSetOperator"},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}}},"IWorkingSetQueryGroup":{"type":"object","required":["operator"],"anyOf":[{"required":["conditions"]},{"required":["groups"]}],"additionalProperties":false,"properties":{"operator":{"type":"string","enum":["AND","OR","NOT"]},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/IWorkingSetCondition"}},"groups":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/IWorkingSetQueryGroup"}}}}}},"WriteRequestMeta":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWriteRequestMeta","description":"Audit metadata for a write request. `audit.source` names the surface that sent it, such as `studio-web`, `studio-mcp`, `api` or `system`; `audit.reason` is a free-text justification.","type":"object","additionalProperties":false,"properties":{"audit":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string","maxLength":64},"reason":{"type":"string","maxLength":256}}}}},"IWorkingSetQueryGroup":{"type":"object","required":["operator"],"anyOf":[{"required":["conditions"]},{"required":["groups"]}],"additionalProperties":false,"properties":{"operator":{"type":"string","enum":["AND","OR","NOT"]},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/IWorkingSetCondition"}},"groups":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/IWorkingSetQueryGroup"}}}},"IWorkingSetCondition":{"type":"object","required":["field","operator"],"additionalProperties":false,"properties":{"field":{"type":"string","enum":["id","name","purposeOfWork","orchestrationReference","status","creatorId","creatorName","created","updated"]},"operator":{"$ref":"#/components/schemas/IWorkingSetOperator"},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}}},"IWorkingSetOperator":{"type":"string","description":"Comparison operator for a condition:\n- `eq`: exact match\n- `ne`: exact exclusion\n- `contains`: substring or token match\n- `not_contains`: negation of `contains`\n- `starts_with`: prefix match\n- `lt`, `lte`, `gt`, `gte`: numeric or date range\n- `exists`: field has any non-null value\n- `not_exists`: field is absent or null","enum":["eq","ne","contains","not_contains","starts_with","lt","lte","gt","gte","exists","not_exists"]},"WorkingSetSearchResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetSearchResponse","description":"A page of Working Sets from the search index, with pagination and the applied ordering in `meta`.","type":"object","required":["data","meta","jsonapi"],"additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WorkingSetResource"}},"links":{"type":"object","additionalProperties":false,"properties":{"self":{"type":"string"},"next":{"type":["string","null"]},"prev":{"type":["string","null"]}}},"meta":{"type":"object","required":["total","page","perPage","sort"],"additionalProperties":false,"properties":{"total":{"type":"integer"},"page":{"type":"integer"},"perPage":{"type":"integer"},"sort":{"$ref":"#/components/schemas/SearchSortMeta"}}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"WorkingSetResource":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetResource","description":"A Working Set as a JSON:API resource object.","allOf":[{"$ref":"#/components/schemas/WorkingSetResourceType"},{"type":"object","required":["id","type","attributes","relationships","links"],"additionalProperties":false,"properties":{"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/WorkingSetAttributes"},"relationships":{"$ref":"#/components/schemas/WorkingSetRelationships"},"links":{"$ref":"#/components/schemas/LinksSelf"}}}]},"WorkingSetResourceType":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetResourceType","description":"JSON:API type of Working Set resources: always `\"workingSets\"`.","type":"object","required":["type"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["workingSets"]}}},"WorkingSetAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributes","description":"Working Set attributes, plus the system-managed `status`, `recordCount` and timestamps.","allOf":[{"$ref":"#/components/schemas/WorkingSetAttributesInput"},{"$ref":"#/components/schemas/BaseResourceAttributes"},{"type":"object","required":["status","recordCount"],"additionalProperties":false,"properties":{"status":{"$ref":"#/components/schemas/WorkingSetAttributeStatus"},"recordCount":{"type":"integer","minimum":0,"description":"Records in the Working Set. Can trail a membership change by a few seconds."}}}]},"WorkingSetAttributesInput":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributesInput","description":"Attributes you set on a Working Set.","type":"object","required":["name","purposeOfWork"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":250,"description":"Identifies the Working Set."},"purposeOfWork":{"type":"string","minLength":1,"maxLength":250,"description":"The specific job to do, as one short, explicit statement of intent."},"orchestrationReference":{"type":"string","maxLength":2048,"description":"The external workflow reference driving the work, such as a ticket key or URL."}}},"BaseResourceAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IBaseResourceAttributes","description":"Timestamps on every resource's attributes, as ISO 8601 date-times. `created` marks the resource's creation; `updated` marks its last change.","type":"object","additionalProperties":false,"required":["created","updated"],"properties":{"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"WorkingSetAttributeStatus":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributeStatus","description":"Working Set lifecycle status:\n- `OPEN`: accepts membership changes.\n- `CLOSED`: frozen.\n- `DELETING`: a delete is in progress and the Working Set is about to disappear. It refuses every change and doesn't appear under `OPEN` or `CLOSED`.","type":"string","enum":["OPEN","CLOSED","DELETING"]},"WorkingSetRelationships":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetRelationships","description":"The Working Set's tenant, creator and records. `records.data` holds identifiers only in a create response; otherwise follow `records.links.related`.","type":"object","required":["tenant","creator","records"],"additionalProperties":false,"properties":{"tenant":{"$ref":"#/components/schemas/TenantRelationship"},"creator":{"$ref":"#/components/schemas/WorkingSetCreatorRelationship"},"records":{"type":"object","required":["links"],"additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/data"}},"links":{"$ref":"#/components/schemas/LinksRelated"}}}}},"TenantRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ITenantRelationship","description":"A relationship to a tenant","type":"object","properties":{"data":{"additionalProperties":false,"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["tenants"]}},"required":["id","type"]},"links":{"$ref":"#/components/schemas/LinksRelated"}},"required":["data","links"],"additionalProperties":false},"LinksRelated":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinks","description":"A JSON:API links object with an absolute or relative 'related' link","type":"object","required":["related"],"properties":{"related":{"type":"string"}},"additionalProperties":false},"WorkingSetCreatorRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetCreatorRelationship","description":"The user or API client that created the Working Set. `data.type` is `users` for an interactive user and `apiKeys` for a machine client; `meta.name` holds the creator's display name at creation time.","type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"type":"object","required":["id","type"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["users","apiKeys"]}}},"meta":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"The creator's display name at creation time."}}},"links":{"$ref":"#/components/schemas/LinksRelated"}}},"data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["records"]}},"required":["id","type"]},"LinksSelf":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinksSelf","description":"A JSON:API links object with an absolute or relative 'self' link","type":"object","required":["self"],"properties":{"self":{"type":"string"}},"additionalProperties":false},"SearchSortMeta":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ISearchSortMeta","description":"The ordering applied to the search results. Every search response carries it, whether or not the request asked for an ordering.","type":"object","properties":{"applied":{"type":"string","description":"The ordering applied, in the `sort` parameter's comma-separated syntax. Pass it back as `sort` to keep the ordering fixed across later requests."},"default":{"type":"boolean","description":"`true` when the request had no `sort` and the server chose the ordering; `false` when it reflects the `sort` you sent."}},"required":["applied","default"],"additionalProperties":false},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}}}},"paths":{"/workingSets/search":{"post":{"summary":"Search working sets","operationId":"workingSetSearch","description":"Searches the Working Sets you can read in your tenant with the shared condition-group query language. Searchable: name, purpose of work, orchestration reference, status, creator, record count and timestamps. Orders newest first unless you pass `sort`. Results trail the latest writes by a moment.","tags":["Working Sets"],"parameters":[{"name":"page.size","in":"query","description":"Results per page. Defaults to 25, which is also the maximum.","schema":{"type":"integer","minimum":1,"maximum":25,"default":25}},{"name":"page.number","in":"query","description":"Zero-based page number. The API rejects pages beyond 399.","schema":{"type":"integer","minimum":0,"maximum":399}},{"name":"sort","in":"query","description":"Comma-separated sort fields; prefix `-` for descending, e.g. `-updated,name`. Sortable: `name`, `purposeOfWork`, `orchestrationReference`, `status`, `creatorName`, `created`, `updated`.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetSearchRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetSearchResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Get a working set

> Gets a Working Set by ID.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"WorkingSetFindOneResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetFindOneResponse","description":"A single Working Set.","type":"object","additionalProperties":false,"required":["data","jsonapi"],"properties":{"data":{"$ref":"#/components/schemas/WorkingSetResource"},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"WorkingSetResource":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetResource","description":"A Working Set as a JSON:API resource object.","allOf":[{"$ref":"#/components/schemas/WorkingSetResourceType"},{"type":"object","required":["id","type","attributes","relationships","links"],"additionalProperties":false,"properties":{"id":{"type":"string"},"attributes":{"$ref":"#/components/schemas/WorkingSetAttributes"},"relationships":{"$ref":"#/components/schemas/WorkingSetRelationships"},"links":{"$ref":"#/components/schemas/LinksSelf"}}}]},"WorkingSetResourceType":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetResourceType","description":"JSON:API type of Working Set resources: always `\"workingSets\"`.","type":"object","required":["type"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["workingSets"]}}},"WorkingSetAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributes","description":"Working Set attributes, plus the system-managed `status`, `recordCount` and timestamps.","allOf":[{"$ref":"#/components/schemas/WorkingSetAttributesInput"},{"$ref":"#/components/schemas/BaseResourceAttributes"},{"type":"object","required":["status","recordCount"],"additionalProperties":false,"properties":{"status":{"$ref":"#/components/schemas/WorkingSetAttributeStatus"},"recordCount":{"type":"integer","minimum":0,"description":"Records in the Working Set. Can trail a membership change by a few seconds."}}}]},"WorkingSetAttributesInput":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributesInput","description":"Attributes you set on a Working Set.","type":"object","required":["name","purposeOfWork"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":250,"description":"Identifies the Working Set."},"purposeOfWork":{"type":"string","minLength":1,"maxLength":250,"description":"The specific job to do, as one short, explicit statement of intent."},"orchestrationReference":{"type":"string","maxLength":2048,"description":"The external workflow reference driving the work, such as a ticket key or URL."}}},"BaseResourceAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IBaseResourceAttributes","description":"Timestamps on every resource's attributes, as ISO 8601 date-times. `created` marks the resource's creation; `updated` marks its last change.","type":"object","additionalProperties":false,"required":["created","updated"],"properties":{"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"WorkingSetAttributeStatus":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAttributeStatus","description":"Working Set lifecycle status:\n- `OPEN`: accepts membership changes.\n- `CLOSED`: frozen.\n- `DELETING`: a delete is in progress and the Working Set is about to disappear. It refuses every change and doesn't appear under `OPEN` or `CLOSED`.","type":"string","enum":["OPEN","CLOSED","DELETING"]},"WorkingSetRelationships":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetRelationships","description":"The Working Set's tenant, creator and records. `records.data` holds identifiers only in a create response; otherwise follow `records.links.related`.","type":"object","required":["tenant","creator","records"],"additionalProperties":false,"properties":{"tenant":{"$ref":"#/components/schemas/TenantRelationship"},"creator":{"$ref":"#/components/schemas/WorkingSetCreatorRelationship"},"records":{"type":"object","required":["links"],"additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/data"}},"links":{"$ref":"#/components/schemas/LinksRelated"}}}}},"TenantRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ITenantRelationship","description":"A relationship to a tenant","type":"object","properties":{"data":{"additionalProperties":false,"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["tenants"]}},"required":["id","type"]},"links":{"$ref":"#/components/schemas/LinksRelated"}},"required":["data","links"],"additionalProperties":false},"LinksRelated":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinks","description":"A JSON:API links object with an absolute or relative 'related' link","type":"object","required":["related"],"properties":{"related":{"type":"string"}},"additionalProperties":false},"WorkingSetCreatorRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetCreatorRelationship","description":"The user or API client that created the Working Set. `data.type` is `users` for an interactive user and `apiKeys` for a machine client; `meta.name` holds the creator's display name at creation time.","type":"object","required":["data"],"additionalProperties":false,"properties":{"data":{"type":"object","required":["id","type"],"additionalProperties":false,"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["users","apiKeys"]}}},"meta":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"The creator's display name at creation time."}}},"links":{"$ref":"#/components/schemas/LinksRelated"}}},"data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["records"]}},"required":["id","type"]},"LinksSelf":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinksSelf","description":"A JSON:API links object with an absolute or relative 'self' link","type":"object","required":["self"],"properties":{"self":{"type":"string"}},"additionalProperties":false},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}}}},"paths":{"/workingSets/{workingSetId}":{"get":{"summary":"Get a working set","operationId":"workingSetFindOne","description":"Gets a Working Set by ID.","tags":["Working Sets"],"parameters":[{"name":"workingSetId","description":"The Working Set to get.","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetFindOneResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Delete a working set

> Permanently deletes a Working Set in a background job. You can't undo it.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"BackgroundJobFindOneResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IBackgroundJobFindOneResponse","description":"A single background job.","type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["backgroundJobs"]},"attributes":{"$ref":"#/components/schemas/BackgroundJobAttributes"},"links":{"type":"object","properties":{"self":{"type":"string"}},"additionalProperties":false},"relationships":{"type":"object","properties":{"tenant":{"$ref":"#/components/schemas/TenantRelationship"},"author":{"$ref":"#/components/schemas/UserRelationship"}},"additionalProperties":false}},"required":["id","type","attributes"],"additionalProperties":false},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}},"required":["data","jsonapi"],"additionalProperties":false},"BackgroundJobAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IBackgroundJobAttributes","description":"Attributes of a background job, a long-running operation such as a contributor delete or tenant data export. They carry the status, job type and parameters, plus the output on completion, error details on failure, and item counts for batch jobs.","type":"object","allOf":[{"$ref":"#/components/schemas/BaseResourceAttributes"},{"type":"object","properties":{"type":{"type":"string"},"parameters":{"type":"object"},"status":{"$ref":"#/components/schemas/BackgroundJobStatus"},"output":{"type":"object","properties":{"errorsAvailable":{"type":"boolean","description":"True when GET /backgroundJobs/{jobId}/errors can download the job's per-item error files."}}},"totalItemsCount":{"type":"integer","minimum":0,"description":"Total items in a batch job, when applicable."},"successItemsCount":{"type":"integer","minimum":0,"description":"Items the batch job processed successfully, when applicable."},"failedItemsCount":{"type":"integer","minimum":0,"description":"Items that failed in a batch job, when applicable."},"error":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}},"required":["message","code"],"additionalProperties":false}},"required":["type","parameters","status"],"additionalProperties":false}],"additionalProperties":false},"BaseResourceAttributes":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IBaseResourceAttributes","description":"Timestamps on every resource's attributes, as ISO 8601 date-times. `created` marks the resource's creation; `updated` marks its last change.","type":"object","additionalProperties":false,"required":["created","updated"],"properties":{"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"BackgroundJobStatus":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IBackgroundJobStatus","description":"A background job's status. `RUNNING` and `PENDING_REDRIVE` (queued for retry) are still in progress; `SUCCEEDED`, `FAILED`, `TIMED_OUT` and `ABORTED` are final.","type":"string","enum":["ABORTED","FAILED","PENDING_REDRIVE","RUNNING","SUCCEEDED","TIMED_OUT"]},"TenantRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ITenantRelationship","description":"A relationship to a tenant","type":"object","properties":{"data":{"additionalProperties":false,"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["tenants"]}},"required":["id","type"]},"links":{"$ref":"#/components/schemas/LinksRelated"}},"required":["data","links"],"additionalProperties":false},"LinksRelated":{"$schema":"http://json-schema.org/draft-07/schema#","title":"ILinks","description":"A JSON:API links object with an absolute or relative 'related' link","type":"object","required":["related"],"properties":{"related":{"type":"string"}},"additionalProperties":false},"UserRelationship":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IUserRelationship","description":"A relationship to the actor behind a write, such as `author` or `updatedBy`. `data.meta.type` is the actor type: a human user, an API key or an internal service. Only human users carry `links.related`.","type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["users"]},"meta":{"type":"object","properties":{"tenantId":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"}},"required":["tenantId","type","displayName"],"additionalProperties":false}},"required":["id","type","meta"],"additionalProperties":false},"links":{"$ref":"#/components/schemas/LinksRelated"}},"required":["data"],"additionalProperties":false},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}}}},"paths":{"/workingSets/{workingSetId}":{"delete":{"summary":"Delete a working set","operationId":"workingSetDeleteOne","description":"Permanently deletes a Working Set in a background job. You can't undo it.","tags":["Working Sets"],"parameters":[{"name":"workingSetId","description":"The Working Set to delete.","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"202":{"description":"Accepted: the background job that carries out the delete","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackgroundJobFindOneResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict: a delete of this Working Set is already in progress","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Update a working set

> Edits \`name\`, \`purposeOfWork\` or \`orchestrationReference\`, closes the Working Set with \`status: CLOSED\`, or both in one change. Leaves omitted attributes unchanged; \`orchestrationReference: null\` clears it.\
> \- You can edit only an \`OPEN\` Working Set; editing a \`CLOSED\` one answers 409.\
> \- You can't reopen a closed Working Set, and it takes no more edits or membership changes.\
> \- Closing an already \`CLOSED\` Working Set succeeds and changes nothing.\
> \- A tenant holds at most 100 \`CLOSED\` Working Sets. Closing one more answers 409 and applies none of the request: the Working Set stays \`OPEN\`, unedited.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"WorkingSetUpdateOneRequest":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetUpdateOneRequest","description":"Edits or closes a Working Set. Send at least one attribute; omitted attributes stay unchanged. You can edit only an `OPEN` Working Set, and an edit sent with a close applies as one change.","type":"object","required":["data"],"additionalProperties":false,"properties":{"meta":{"$ref":"#/components/schemas/WriteRequestMeta"},"data":{"type":"object","required":["type","id","attributes"],"additionalProperties":false,"properties":{"type":{"type":"string","enum":["workingSets"]},"id":{"type":"string","description":"The Working Set ID; must match the `workingSetId` path parameter."},"attributes":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":250,"description":"Identifies the Working Set."},"purposeOfWork":{"type":"string","minLength":1,"maxLength":250,"description":"The specific job to do, as one short, explicit statement of intent."},"orchestrationReference":{"type":["string","null"],"maxLength":2048,"description":"The external workflow reference driving the work, such as a ticket key or URL. `null` clears it."},"status":{"type":"string","enum":["CLOSED"],"description":"Closes the Working Set. Accepts only `CLOSED`; you can't reopen it."}}}}}}},"WriteRequestMeta":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWriteRequestMeta","description":"Audit metadata for a write request. `audit.source` names the surface that sent it, such as `studio-web`, `studio-mcp`, `api` or `system`; `audit.reason` is a free-text justification.","type":"object","additionalProperties":false,"properties":{"audit":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string","maxLength":64},"reason":{"type":"string","maxLength":256}}}}},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false}}},"paths":{"/workingSets/{workingSetId}":{"patch":{"summary":"Update a working set","operationId":"workingSetUpdateOne","description":"Edits `name`, `purposeOfWork` or `orchestrationReference`, closes the Working Set with `status: CLOSED`, or both in one change. Leaves omitted attributes unchanged; `orchestrationReference: null` clears it.\n- You can edit only an `OPEN` Working Set; editing a `CLOSED` one answers 409.\n- You can't reopen a closed Working Set, and it takes no more edits or membership changes.\n- Closing an already `CLOSED` Working Set succeeds and changes nothing.\n- A tenant holds at most 100 `CLOSED` Working Sets. Closing one more answers 409 and applies none of the request: the Working Set stays `OPEN`, unedited.","tags":["Working Sets"],"parameters":[{"name":"workingSetId","description":"The Working Set to update.","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetUpdateOneRequest"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict, when:\n- `data.id` doesn't match the path\n- the Working Set is `CLOSED` and the request edits an attribute\n- the tenant already holds the maximum number of `CLOSED` Working Sets","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## List working set records

> Lists the records in the Working Set as JSON:API resource identifiers (\`type\` + \`id\`), one page at a time. Follow \`links.next\` until it is null; \`meta.total\` counts the records in the Working Set and can trail a membership change by a few seconds.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"WorkingSetFindRecordsRelationshipResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetFindRecordsRelationshipResponse","description":"Resource identifiers of the records in a Working Set. Follow `links.next` while it is non-null.","type":"object","additionalProperties":false,"required":["data","links","jsonapi"],"properties":{"data":{"type":"array","description":"One resource identifier per record","items":{"type":"object","required":["type","id"],"additionalProperties":false,"properties":{"type":{"type":"string","enum":["records"]},"id":{"type":"string"}}}},"links":{"type":"object","description":"JSON:API links","required":["self"],"additionalProperties":false,"properties":{"self":{"type":"string","description":"Link to this relationship"},"next":{"type":["string","null"],"description":"Link to the next page; null on the last page"}}},"meta":{"type":"object","additionalProperties":false,"properties":{"total":{"type":"integer","minimum":0,"description":"Total number of records in the relationship"},"cursor":{"type":"string","description":"Cursor for the next page, also in `links.next`"}}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}}}},"paths":{"/workingSets/{workingSetId}/relationships/records":{"get":{"summary":"List working set records","operationId":"workingSetFindRecordsRelationship","description":"Lists the records in the Working Set as JSON:API resource identifiers (`type` + `id`), one page at a time. Follow `links.next` until it is null; `meta.total` counts the records in the Working Set and can trail a membership change by a few seconds.","tags":["Working Sets"],"parameters":[{"name":"workingSetId","description":"The Working Set ID.","in":"path","required":true,"schema":{"type":"string"}},{"name":"page.size","in":"query","description":"Resource identifiers per page. Defaults to 1000.","schema":{"type":"integer","minimum":1,"maximum":1000}},{"name":"page.cursor","in":"query","description":"Pagination cursor from the previous page's `links.next`.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetFindRecordsRelationshipResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Add records to a working set

> Adds records to the Working Set and keeps the existing ones. Takes up to 99 records per request: all or none. Skips records already present; \`meta\` reports how many it added and skipped. Works only while the Working Set is \`OPEN\`.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"WorkingSetAddRecordsRelationshipRequest":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAddRecordsRelationshipRequest","description":"Records to add to a Working Set, up to 99 per request.","type":"object","required":["data"],"additionalProperties":false,"properties":{"meta":{"$ref":"#/components/schemas/WriteRequestMeta"},"data":{"type":"array","items":{"$ref":"#/components/schemas/data"},"minItems":1,"maxItems":99}}},"WriteRequestMeta":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWriteRequestMeta","description":"Audit metadata for a write request. `audit.source` names the surface that sent it, such as `studio-web`, `studio-mcp`, `api` or `system`; `audit.reason` is a free-text justification.","type":"object","additionalProperties":false,"properties":{"audit":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string","maxLength":64},"reason":{"type":"string","maxLength":256}}}}},"data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["records"]}},"required":["id","type"]},"WorkingSetAddRecordsRelationshipResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetAddRecordsRelationshipResponse","description":"Meta-only response: how many requested records the call linked, and how many the Working Set already held.","type":"object","additionalProperties":false,"required":["meta","jsonapi"],"properties":{"meta":{"type":"object","additionalProperties":false,"required":["requestedCount","addedCount","skippedCount"],"properties":{"requestedCount":{"type":"integer","minimum":1,"description":"Distinct records in the request"},"addedCount":{"type":"integer","minimum":0,"description":"Records the call newly linked to the Working Set"},"skippedCount":{"type":"integer","minimum":0,"description":"Requested records the Working Set already held"}}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}}}},"paths":{"/workingSets/{workingSetId}/relationships/records":{"post":{"summary":"Add records to a working set","operationId":"workingSetAddRecordsRelationship","description":"Adds records to the Working Set and keeps the existing ones. Takes up to 99 records per request: all or none. Skips records already present; `meta` reports how many it added and skipped. Works only while the Working Set is `OPEN`.","tags":["Working Sets"],"parameters":[{"name":"workingSetId","description":"The Working Set ID.","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetAddRecordsRelationshipRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetAddRecordsRelationshipResponse"}}}},"400":{"description":"Bad Request, including a record reference that matches no record in your tenant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict: the Working Set is not `OPEN`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Remove records from a working set

> Removes the given records from the Working Set and ignores records it doesn't contain. Works only while the Working Set is \`OPEN\`.

```json
{"openapi":"3.0.3","info":{"title":"Fabric API - Audit","version":"0.9.2817"},"tags":[{"name":"Working Sets","description":"Manage your tenant's Working Sets."}],"servers":[{"url":"{protocol}://{domain}/{basePath}","variables":{"protocol":{"enum":["http","https"],"default":"https"},"domain":{"default":"api.studio.fabricdata.com"},"basePath":{"default":"v1"}}}],"security":[{"jwt-apikey-authorizer":[]}],"components":{"securitySchemes":{"jwt-apikey-authorizer":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"WorkingSetRemoveRecordsRelationshipRequest":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWorkingSetRemoveRecordsRelationshipRequest","description":"Records to remove from a Working Set. The API ignores records the Working Set doesn't contain.","type":"object","required":["data"],"additionalProperties":false,"properties":{"meta":{"$ref":"#/components/schemas/WriteRequestMeta"},"data":{"type":"array","items":{"$ref":"#/components/schemas/data"},"minItems":1,"maxItems":99}}},"WriteRequestMeta":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IWriteRequestMeta","description":"Audit metadata for a write request. `audit.source` names the surface that sent it, such as `studio-web`, `studio-mcp`, `api` or `system`; `audit.reason` is a free-text justification.","type":"object","additionalProperties":false,"properties":{"audit":{"type":"object","additionalProperties":false,"properties":{"source":{"type":"string","maxLength":64},"reason":{"type":"string","maxLength":256}}}}},"data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["records"]}},"required":["id","type"]},"ErrorResponse":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IErrorResponse","description":"The body of a failed request: an `errors` array with one or more error objects.","type":"object","required":["errors","jsonapi"],"additionalProperties":false,"properties":{"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"}},"jsonapi":{"$ref":"#/components/schemas/JsonApiVersion"}}},"Error":{"$schema":"http://json-schema.org/draft-07/schema#","title":"IError","description":"One JSON:API error object. `status` is the HTTP status code as a string, `title` a short summary and `detail` optional context. `meta` can carry structured conflict or authorization details.","type":"object","additionalProperties":false,"required":["status","title"],"properties":{"status":{"type":"string"},"title":{"type":"string"},"code":{"type":"string","description":"A stable code for the problem that you can act on, when the operation documents one."},"detail":{"type":"string"},"source":{"type":"object","description":"A JSON Pointer to the request field that caused the error, such as `/data/attributes/title`.","properties":{"pointer":{"type":"string"}}},"meta":{"type":"object","additionalProperties":true,"properties":{"stack":{"type":"string","description":"The error's stack trace. Non-production environments only."},"conflictItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"unauthorizedItems":{"type":"array","items":{"type":"string"}}}}}},"JsonApiVersion":{"type":"object","description":"The JSON:API version this document conforms to.","properties":{"version":{"type":"string"}},"required":["version"],"additionalProperties":false}}},"paths":{"/workingSets/{workingSetId}/relationships/records":{"delete":{"summary":"Remove records from a working set","operationId":"workingSetRemoveRecordsRelationship","description":"Removes the given records from the Working Set and ignores records it doesn't contain. Works only while the Working Set is `OPEN`.","tags":["Working Sets"],"parameters":[{"name":"workingSetId","description":"The Working Set ID.","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingSetRemoveRecordsRelationshipRequest"}}}},"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict: the Working Set is not `OPEN`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```
