---
title: TextSearch
summary: Free-text search in models
order: 1476
section: IFC - Industry Foundation Classes
method: POST
operation: TextSearch
auth: true
scopes: [query:run]
schemas: [TextSearchRequest, ModelIdentifier, TextSearchResult, ErrorResponse]
link-terms: true
path: /ifc/TextSearch
---

# TextSearch

<div class="api-path"><div class="api-path-method"><span class="pill pill-method">POST</span></div><pre><span class="host" data-api-host></span>/openapi/ifc/TextSearch</pre></div>

Searches the text of the models (names and values of attributes, properties, quantities, classifications, materials, layers) for words, not with BQL. Each group says where the text matched, how many objects match there and which (at most `max_qids_per_group`). A query that is a GlobalId (22 characters, or a UUID) also finds that object exactly, as a value match on the attribute GlobalId. Needs text indexing on the instance (features.text_indexing). Not available in a workspace whose filter limits the objects.

## Try it {#try-it}

Edit the request and send it; it runs against this instance with your token, and the examples follow the form.

<div class="try-it" id="try-textsearch" data-operation="TextSearch" data-method="POST" data-path="/ifc/TextSearch" data-content-type="application/json" data-auth="bearer" data-schema="TextSearchRequest" data-tag="IFC" data-required="models,query" data-scopes="query:run"><div class="try-it-bar"><div class="tabs" role="tablist"><button type="button" role="tab" class="tab active" data-try-tab="request">Request</button><button type="button" role="tab" class="tab" data-try-tab="headers">Headers</button><button type="button" role="tab" class="tab" data-try-tab="snippet" data-try-snippet-tab>curl</button></div><span class="try-it-cred" data-try-cred></span><div class="try-it-actions"><button type="button" class="btn" data-try-reset>Reset</button><button type="button" class="btn btn-primary" data-try-send>Send</button></div></div><div class="try-it-body"><div class="try-it-request"><div class="try-it-pane active" data-try-pane="request"><div class="try-it-kv"><div class="try-it-key">Authorization</div><div class="try-it-val"><code data-try-auth>Bearer &lt;auth token&gt;</code><button type="button" class="link-button try-it-paste" data-try-paste>Paste another token</button></div><div class="try-it-key">Content-Type</div><div class="try-it-val"><code>application/json</code></div></div><div class="try-it-caption"><span>Body</span><span class="try-it-valid" data-try-valid></span></div><div class="try-it-editor lesson-code"><div class="lesson-gutter" data-try-gutter>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18</div><textarea class="lesson-input try-it-textarea" data-try-body spellcheck="false" aria-label="Request body" rows="18">{
  &quot;models&quot;: [
    {
      &quot;type&quot;: &quot;UrlModelIdentifier&quot;
    }
  ],
  &quot;query&quot;: &quot;&quot;,
  &quot;fuzzy&quot;: true,
  &quot;max_edits&quot;: 0,
  &quot;prefix&quot;: true,
  &quot;search_values&quot;: true,
  &quot;search_names&quot;: true,
  &quot;kind&quot;: &quot;attribute&quot;,
  &quot;set&quot;: &quot;&quot;,
  &quot;name&quot;: &quot;&quot;,
  &quot;type&quot;: &quot;&quot;,
  &quot;max_qids_per_group&quot;: 100
}</textarea></div></div><div class="try-it-pane" data-try-pane="headers"><pre class="code"><code data-try-headers>Authorization: Bearer &lt;auth token&gt;
Content-Type: application/json
Accept: application/json</code></pre></div><div class="try-it-pane" data-try-pane="snippet"><pre class="code"><code class="language-shell" data-try-snippet>curl -X POST &quot;$BIMWORKS_URL/openapi/ifc/TextSearch&quot; \
  -H &quot;Authorization: Bearer $BIMWORKS_TOKEN&quot; \
  -H &quot;Content-Type: application/json&quot; \
  -d '{
  &quot;models&quot;: [
    {
      &quot;type&quot;: &quot;UrlModelIdentifier&quot;
    }
  ],
  &quot;query&quot;: &quot;&quot;,
  &quot;fuzzy&quot;: true,
  &quot;max_edits&quot;: 0,
  &quot;prefix&quot;: true,
  &quot;search_values&quot;: true,
  &quot;search_names&quot;: true,
  &quot;kind&quot;: &quot;attribute&quot;,
  &quot;set&quot;: &quot;&quot;,
  &quot;name&quot;: &quot;&quot;,
  &quot;type&quot;: &quot;&quot;,
  &quot;max_qids_per_group&quot;: 100
}'</code></pre></div></div><div class="try-it-response"><div class="try-it-status"><span class="pill-status" data-try-status hidden></span><span class="try-it-meta" data-try-meta>Send to see the response</span><span class="try-it-spacer"></span><div class="tabs try-it-rtabs" data-try-rtabs hidden><button type="button" class="tab active" data-try-rtab="body">Body</button><button type="button" class="tab" data-try-rtab="headers">Headers</button></div><a class="try-it-download" data-try-download hidden download>Download</a></div><pre class="code try-it-out" data-try-out></pre></div></div><script type="application/json" data-try-sdk>{"java":{"program":"import nl.bimbase.bimworks.sdk.api.AuthApi;\nimport nl.bimbase.bimworks.sdk.api.IfcApi;\nimport nl.bimbase.bimworks.sdk.client.ApiClient;\nimport nl.bimbase.bimworks.sdk.model.Auth;\nimport nl.bimbase.bimworks.sdk.model.LoginWithApiTokenRequest;\nimport nl.bimbase.bimworks.sdk.model.TextSearchRequest;\n\npublic class Example {\n    public static void main(String[] args) throws Exception {\n        // 1. Connect to BIM.works and log in with your API token\n        ApiClient client = new ApiClient();\n        client.updateBaseUri(\"BIM_WORKS_ADDRESS/openapi\");\n        Auth auth = new AuthApi(client)\n                .loginWithApiToken(new LoginWithApiTokenRequest().token(\"BIM_WORKS_API_TOKEN\"))\n                .getAuth();\n        client.setRequestInterceptor(builder -> builder.setHeader(\"Authorization\", \"Bearer \" + auth.getBase64()));\n\n        // 2. The request\n        TextSearchRequest request = client.getObjectMapper().readValue(\"\"\"\n                {\n                  \"models\": [\n                    {\n                      \"type\": \"UrlModelIdentifier\"\n                    }\n                  ],\n                  \"query\": \"\",\n                  \"fuzzy\": true,\n                  \"max_edits\": 0,\n                  \"prefix\": true,\n                  \"search_values\": true,\n                  \"search_names\": true,\n                  \"kind\": \"attribute\",\n                  \"set\": \"\",\n                  \"name\": \"\",\n                  \"type\": \"\",\n                  \"max_qids_per_group\": 100\n                }\n                \"\"\", TextSearchRequest.class);\n\n        // 3. The call\n        var result = new IfcApi(client).textSearch(request);\n\n        // 4. The result\n        System.out.println(client.getObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(result));\n    }\n}","template":"import nl.bimbase.bimworks.sdk.api.AuthApi;\nimport nl.bimbase.bimworks.sdk.api.IfcApi;\nimport nl.bimbase.bimworks.sdk.client.ApiClient;\nimport nl.bimbase.bimworks.sdk.model.Auth;\nimport nl.bimbase.bimworks.sdk.model.LoginWithApiTokenRequest;\nimport nl.bimbase.bimworks.sdk.model.TextSearchRequest;\n\npublic class Example {\n    public static void main(String[] args) throws Exception {\n        // 1. Connect to BIM.works and log in with your API token\n        ApiClient client = new ApiClient();\n        client.updateBaseUri(\"BIM_WORKS_ADDRESS/openapi\");\n        Auth auth = new AuthApi(client)\n                .loginWithApiToken(new LoginWithApiTokenRequest().token(\"BIM_WORKS_API_TOKEN\"))\n                .getAuth();\n        client.setRequestInterceptor(builder -> builder.setHeader(\"Authorization\", \"Bearer \" + auth.getBase64()));\n\n        // 2. The request\n        TextSearchRequest request = client.getObjectMapper().readValue(\"\"\"\n                @@BODY@@\n                \"\"\", TextSearchRequest.class);\n\n        // 3. The call\n        var result = new IfcApi(client).textSearch(request);\n\n        // 4. The result\n        System.out.println(client.getObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(result));\n    }\n}","escape":"backslash"},"csharp":{"program":"using System.Text.Json;\nusing BIMworks.Sdk.Api;\nusing BIMworks.Sdk.Client;\nusing BIMworks.Sdk.Extensions;\nusing BIMworks.Sdk.Model;\nusing Microsoft.Extensions.DependencyInjection;\n\n// 1. Connect to BIM.works and log in with your API token\nIServiceProvider Connect(string bearer)\n{\n    var services = new ServiceCollection();\n    services.AddApi(options =>\n    {\n        options.AddTokens(new BearerToken(bearer));\n        options.AddApiHttpClients(http =>\n        {\n            http.BaseAddress = new Uri(\"BIM_WORKS_ADDRESS\" + \"/openapi\");\n            http.Timeout = Timeout.InfiniteTimeSpan;\n        });\n    });\n    return services.BuildServiceProvider();\n}\nvar login = await Connect(\"\").GetRequiredService<IAuthApi>().LoginWithApiTokenAsync(new LoginWithApiTokenRequest(\"BIM_WORKS_API_TOKEN\"));\nvar auth = login.Ok()?.Auth ?? throw new HttpRequestException(login.RawContent, null, login.StatusCode);\nvar client = Connect(auth.Base64);\nvar json = client.GetRequiredService<JsonSerializerOptionsProvider>().Options;\n\n// 2. The request\nvar request = JsonSerializer.Deserialize<TextSearchRequest>(\"\"\"\n    {\n      \"models\": [\n        {\n          \"type\": \"UrlModelIdentifier\"\n        }\n      ],\n      \"query\": \"\",\n      \"fuzzy\": true,\n      \"max_edits\": 0,\n      \"prefix\": true,\n      \"search_values\": true,\n      \"search_names\": true,\n      \"kind\": \"attribute\",\n      \"set\": \"\",\n      \"name\": \"\",\n      \"type\": \"\",\n      \"max_qids_per_group\": 100\n    }\n    \"\"\", json);\n\n// 3. The call\nvar response = await client.GetRequiredService<IIFCApi>().TextSearchAsync(request);\n\n// 4. The result\nvar result = response.Ok() ?? throw new HttpRequestException(response.RawContent, null, response.StatusCode);\nConsole.WriteLine(JsonSerializer.Serialize(result, json));","template":"using System.Text.Json;\nusing BIMworks.Sdk.Api;\nusing BIMworks.Sdk.Client;\nusing BIMworks.Sdk.Extensions;\nusing BIMworks.Sdk.Model;\nusing Microsoft.Extensions.DependencyInjection;\n\n// 1. Connect to BIM.works and log in with your API token\nIServiceProvider Connect(string bearer)\n{\n    var services = new ServiceCollection();\n    services.AddApi(options =>\n    {\n        options.AddTokens(new BearerToken(bearer));\n        options.AddApiHttpClients(http =>\n        {\n            http.BaseAddress = new Uri(\"BIM_WORKS_ADDRESS\" + \"/openapi\");\n            http.Timeout = Timeout.InfiniteTimeSpan;\n        });\n    });\n    return services.BuildServiceProvider();\n}\nvar login = await Connect(\"\").GetRequiredService<IAuthApi>().LoginWithApiTokenAsync(new LoginWithApiTokenRequest(\"BIM_WORKS_API_TOKEN\"));\nvar auth = login.Ok()?.Auth ?? throw new HttpRequestException(login.RawContent, null, login.StatusCode);\nvar client = Connect(auth.Base64);\nvar json = client.GetRequiredService<JsonSerializerOptionsProvider>().Options;\n\n// 2. The request\nvar request = JsonSerializer.Deserialize<TextSearchRequest>(\"\"\"\n    @@BODY@@\n    \"\"\", json);\n\n// 3. The call\nvar response = await client.GetRequiredService<IIFCApi>().TextSearchAsync(request);\n\n// 4. The result\nvar result = response.Ok() ?? throw new HttpRequestException(response.RawContent, null, response.StatusCode);\nConsole.WriteLine(JsonSerializer.Serialize(result, json));","escape":"none"},"typescript":{"program":"import { AuthApi, Configuration, IFCApi, TextSearchRequestFromJSON, TextSearchResultToJSON } from \"@bimworks/sdk\";\n\n// 1. Connect to BIM.works and log in with your API token\nconst basePath = \"BIM_WORKS_ADDRESS/openapi\";\nconst auth = await new AuthApi(new Configuration({ basePath }))\n  .loginWithApiToken({ loginWithApiTokenRequest: { token: \"BIM_WORKS_API_TOKEN\" } });\nconst client = new Configuration({ basePath, accessToken: typeof auth === \"string\" ? auth : auth.base64 });\n\n// 2. The request\nconst request = TextSearchRequestFromJSON({\n  \"models\": [\n    {\n      \"type\": \"UrlModelIdentifier\"\n    }\n  ],\n  \"query\": \"\",\n  \"fuzzy\": true,\n  \"max_edits\": 0,\n  \"prefix\": true,\n  \"search_values\": true,\n  \"search_names\": true,\n  \"kind\": \"attribute\",\n  \"set\": \"\",\n  \"name\": \"\",\n  \"type\": \"\",\n  \"max_qids_per_group\": 100\n});\n\n// 3. The call\nconst result = await new IFCApi(client).textSearch({ textSearchRequest: request });\n\n// 4. The result\nconsole.log(JSON.stringify(TextSearchResultToJSON(result), null, 2));","template":"import { AuthApi, Configuration, IFCApi, TextSearchRequestFromJSON, TextSearchResultToJSON } from \"@bimworks/sdk\";\n\n// 1. Connect to BIM.works and log in with your API token\nconst basePath = \"BIM_WORKS_ADDRESS/openapi\";\nconst auth = await new AuthApi(new Configuration({ basePath }))\n  .loginWithApiToken({ loginWithApiTokenRequest: { token: \"BIM_WORKS_API_TOKEN\" } });\nconst client = new Configuration({ basePath, accessToken: typeof auth === \"string\" ? auth : auth.base64 });\n\n// 2. The request\nconst request = TextSearchRequestFromJSON(@@BODY@@);\n\n// 3. The call\nconst result = await new IFCApi(client).textSearch({ textSearchRequest: request });\n\n// 4. The result\nconsole.log(JSON.stringify(TextSearchResultToJSON(result), null, 2));","escape":"none"},"php":{"program":"<?php\nrequire __DIR__ . '/vendor/autoload.php';\n\nuse BIMworks\\Api\\AuthApi;\nuse BIMworks\\Api\\IFCApi;\nuse BIMworks\\Configuration;\nuse BIMworks\\Model\\LoginWithApiTokenRequest;\nuse BIMworks\\Model\\TextSearchRequest;\nuse BIMworks\\ObjectSerializer;\n\n// 1. Connect to BIM.works and log in with your API token\n$client = (new Configuration())->setHost('BIM_WORKS_ADDRESS/openapi');\n$auth = (new AuthApi(config: $client))->loginWithApiToken(new LoginWithApiTokenRequest(['token' => 'BIM_WORKS_API_TOKEN']));\n$client->setAccessToken($auth->getBase64());\n\n// 2. The request\n$request = ObjectSerializer::deserialize(<<<'JSON'\n{\n  \"models\": [\n    {\n      \"type\": \"UrlModelIdentifier\"\n    }\n  ],\n  \"query\": \"\",\n  \"fuzzy\": true,\n  \"max_edits\": 0,\n  \"prefix\": true,\n  \"search_values\": true,\n  \"search_names\": true,\n  \"kind\": \"attribute\",\n  \"set\": \"\",\n  \"name\": \"\",\n  \"type\": \"\",\n  \"max_qids_per_group\": 100\n}\nJSON, TextSearchRequest::class);\n\n// 3. The call\n$result = (new IFCApi(config: $client))->textSearch($request);\n\n// 4. The result\necho json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES), PHP_EOL;","template":"<?php\nrequire __DIR__ . '/vendor/autoload.php';\n\nuse BIMworks\\Api\\AuthApi;\nuse BIMworks\\Api\\IFCApi;\nuse BIMworks\\Configuration;\nuse BIMworks\\Model\\LoginWithApiTokenRequest;\nuse BIMworks\\Model\\TextSearchRequest;\nuse BIMworks\\ObjectSerializer;\n\n// 1. Connect to BIM.works and log in with your API token\n$client = (new Configuration())->setHost('BIM_WORKS_ADDRESS/openapi');\n$auth = (new AuthApi(config: $client))->loginWithApiToken(new LoginWithApiTokenRequest(['token' => 'BIM_WORKS_API_TOKEN']));\n$client->setAccessToken($auth->getBase64());\n\n// 2. The request\n$request = ObjectSerializer::deserialize(<<<'JSON'\n@@BODY@@\nJSON, TextSearchRequest::class);\n\n// 3. The call\n$result = (new IFCApi(config: $client))->textSearch($request);\n\n// 4. The result\necho json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES), PHP_EOL;","escape":"none"},"python":{"program":"import json\n\nimport bimworks\n\n# 1. Connect to BIM.works and log in with your API token\nclient = bimworks.ApiClient(bimworks.Configuration(host=\"BIM_WORKS_ADDRESS/openapi\"))\nauth = bimworks.AuthApi(client).login_with_api_token(\n    bimworks.LoginWithApiTokenRequest(token=\"BIM_WORKS_API_TOKEN\"))\nclient.configuration.access_token = auth.actual_instance.var_base64\n\n# 2. The request\nrequest = bimworks.TextSearchRequest.from_json(r\"\"\"\n{\n  \"models\": [\n    {\n      \"type\": \"UrlModelIdentifier\"\n    }\n  ],\n  \"query\": \"\",\n  \"fuzzy\": true,\n  \"max_edits\": 0,\n  \"prefix\": true,\n  \"search_values\": true,\n  \"search_names\": true,\n  \"kind\": \"attribute\",\n  \"set\": \"\",\n  \"name\": \"\",\n  \"type\": \"\",\n  \"max_qids_per_group\": 100\n}\n\"\"\")\n\n# 3. The call\nresult = bimworks.IFCApi(client).text_search(request)\n\n# 4. The result\nprint(json.dumps(client.sanitize_for_serialization(result), indent=2))","template":"import json\n\nimport bimworks\n\n# 1. Connect to BIM.works and log in with your API token\nclient = bimworks.ApiClient(bimworks.Configuration(host=\"BIM_WORKS_ADDRESS/openapi\"))\nauth = bimworks.AuthApi(client).login_with_api_token(\n    bimworks.LoginWithApiTokenRequest(token=\"BIM_WORKS_API_TOKEN\"))\nclient.configuration.access_token = auth.actual_instance.var_base64\n\n# 2. The request\nrequest = bimworks.TextSearchRequest.from_json(r\"\"\"\n@@BODY@@\n\"\"\")\n\n# 3. The call\nresult = bimworks.IFCApi(client).text_search(request)\n\n# 4. The result\nprint(json.dumps(client.sanitize_for_serialization(result), indent=2))","escape":"none"}}</script></div>

## Examples {#examples}

<div class="examples" data-examples="try-textsearch"><div class="examples-bar"><span class="examples-lang" data-ex-lang>curl</span><span class="examples-note" data-ex-note>shell</span><button type="button" class="link-button" data-ex-change>Change language</button><button type="button" class="code-copy" data-ex-copy title="Copy">Copy</button></div><pre class="code"><code class="language-shell" data-ex-code>curl -X POST &quot;$BIMWORKS_URL/openapi/ifc/TextSearch&quot; \
  -H &quot;Authorization: Bearer $BIMWORKS_TOKEN&quot; \
  -H &quot;Content-Type: application/json&quot; \
  -d '{
  &quot;models&quot;: [
    {
      &quot;type&quot;: &quot;UrlModelIdentifier&quot;
    }
  ],
  &quot;query&quot;: &quot;&quot;,
  &quot;fuzzy&quot;: true,
  &quot;max_edits&quot;: 0,
  &quot;prefix&quot;: true,
  &quot;search_values&quot;: true,
  &quot;search_names&quot;: true,
  &quot;kind&quot;: &quot;attribute&quot;,
  &quot;set&quot;: &quot;&quot;,
  &quot;name&quot;: &quot;&quot;,
  &quot;type&quot;: &quot;&quot;,
  &quot;max_qids_per_group&quot;: 100
}'</code></pre></div>

The examples are complete programs in the [[page:reference/sdk#openapi|OpenAPI SDKs]], all in the same four steps. The method in each SDK's reference: [[page:reference/sdk/java/ifcapi#textsearch|Java]] · [[page:reference/sdk/dotnet/ifcapi#textsearch|.NET]] · [[page:reference/sdk/typescript/ifcapi#textsearch|TypeScript]] · [[page:reference/sdk/php/ifcapi#textsearch|PHP]] · [[page:reference/sdk/python/ifcapi#textsearch|Python]].

## Request body {#request-body}

[[page:api/schemas#TextSearchRequest|TextSearchRequest]] · `application/json`

<table class="dense">
<thead><tr><th>Field</th><th>Type</th><th>Description</th></tr></thead>
<tbody>
<tr id="field-models"><td><code>models</code></td><td>array of [[page:api/schemas#ModelIdentifier|ModelIdentifier]]<span class="req">required</span></td><td>The models, by Version or Node identifier</td></tr>
<tr id="field-query"><td><code>query</code></td><td><code>string</code><span class="req">required</span></td><td>The words to find</td></tr>
<tr id="field-fuzzy"><td><code>fuzzy</code></td><td><code>boolean</code><span class="opt">optional</span></td><td>Allow small spelling differences Default <code>true</code>.</td></tr>
<tr id="field-max-edits"><td><code>max_edits</code></td><td><code>integer</code><span class="opt">optional</span></td><td>For fuzzy: the number of edits allowed (1 when 0 or absent)</td></tr>
<tr id="field-prefix"><td><code>prefix</code></td><td><code>boolean</code><span class="opt">optional</span></td><td>Match the start of words Default <code>true</code>.</td></tr>
<tr id="field-search-values"><td><code>search_values</code></td><td><code>boolean</code><span class="opt">optional</span></td><td>Search the values Default <code>true</code>.</td></tr>
<tr id="field-search-names"><td><code>search_names</code></td><td><code>boolean</code><span class="opt">optional</span></td><td>Search the names Default <code>true</code>.</td></tr>
<tr id="field-kind"><td><code>kind</code></td><td><code>string</code><span class="opt">optional</span></td><td>Only this kind of feature One of <code>attribute</code>, <code>property</code>, <code>quantity</code>, <code>classification</code>, <code>material</code>, <code>layer</code>.</td></tr>
<tr id="field-set"><td><code>set</code></td><td><code>string</code><span class="opt">optional</span></td><td>Only this property or quantity set</td></tr>
<tr id="field-name"><td><code>name</code></td><td><code>string</code><span class="opt">optional</span></td><td>Only this feature name</td></tr>
<tr id="field-type"><td><code>type</code></td><td><code>string</code><span class="opt">optional</span></td><td>Only objects of this IFC type</td></tr>
<tr id="field-max-qids-per-group"><td><code>max_qids_per_group</code></td><td><code>integer</code><span class="opt">optional</span></td><td>At most this many qids per group; negative for all Default <code>100</code>.</td></tr>
</tbody>
</table>

## Responses {#responses}

<table class="dense">
<thead><tr><th>Status</th><th>Schema</th><th>Description</th></tr></thead>
<tbody>
<tr><td><code class="status-2xx">200</code></td><td>[[page:api/schemas#TextSearchResult|TextSearchResult]]</td><td>The matches</td></tr>
<tr><td><code class="status-4xx">400</code></td><td>[[page:api/schemas#ErrorResponse|ErrorResponse]]</td><td>Invalid input: a missing or invalid argument, an invalid query/identifier/path, a state conflict caused by the request (for example a Node name that already exists), or an uploaded file that was rejected because it cannot be read (<code>type</code> for example <code>INVALID_INPUT_FILE</code>, <code>NO_CONVERTIBLE_CONTENT</code> or one of the <code>StepParserErrorCode</code> codes; uploading the same file again fails the same way)</td></tr>
<tr><td><code class="status-4xx">401</code></td><td>[[page:api/schemas#ErrorResponse|ErrorResponse]]</td><td>Authentication failed: the bearer token is missing, malformed, expired or otherwise invalid, or the provided login credentials are incorrect</td></tr>
<tr><td><code class="status-4xx">403</code></td><td>[[page:api/schemas#ErrorResponse|ErrorResponse]]</td><td>Authenticated, but not allowed: no read/write rights on the target Node, the token's task or IP scope does not allow this call, or a required user feature is missing</td></tr>
<tr><td><code class="status-4xx">404</code></td><td>[[page:api/schemas#ErrorResponse|ErrorResponse]]</td><td>The referenced entity (Node, Version, model file, upload, ...) does not exist</td></tr>
<tr><td><code class="status-4xx">429</code></td><td>[[page:api/schemas#ErrorResponse|ErrorResponse]]</td><td>Too many requests from this client in a short time, on an installation that limits the request rate. Wait the number of seconds in <code>Retry-After</code> before trying again</td></tr>
<tr><td><code class="status-5xx">500</code></td><td>[[page:api/schemas#ErrorResponse|ErrorResponse]]</td><td>An unexpected server-side error (database, routing, IO, unknown)</td></tr>
<tr><td><code class="status-5xx">503</code></td><td>[[page:api/schemas#ErrorResponse|ErrorResponse]]</td><td>BIM.works is temporarily unavailable: it is restarting, stopped, or down for scheduled maintenance (<code>type</code> <code>SERVICE_UNAVAILABLE</code> or <code>MAINTENANCE</code>). Wait the number of seconds in <code>Retry-After</code> before trying again</td></tr>
<tr><td><code class="status-5xx">504</code></td><td>[[page:api/schemas#ErrorResponse|ErrorResponse]]</td><td>BIM.works did not respond in time (<code>type</code> <code>REQUEST_TIMED_OUT</code>). The request may still be completed: check its result before trying again</td></tr>
</tbody>
</table>
