---
title: "documents_search (DocumentCloud)"
description: "Search Document"
language: fr
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fr/datamodels/documentcloud/DocumentCloud.DocumentCloud.documents_search
original: https://documentation.invantive.eu/en/datamodels/documentcloud/DocumentCloud.DocumentCloud.documents_search
updated: 2026-11-16T20:48:12Z
license: https://documentation.invantive.eu/fr/
---

# documents_search: DocumentCloud Search Document

`read only` `REST`

- Catalogue : `DocumentCloud`
- Schéma : `DocumentCloud`
- Clés primaires : `id`
- Label: Search Document

Permet uniquement de récupérer des données.

## Source de l'API

- Point de terminaison : `/documents/search?q={query}&sections=false&annotations=false&data=false&mentions=false`

## Paramètres

| Name | Type de données | Required | Default | Documentation |
|---|---|:---:|---|---|
| `query` | `varchar2` | [x] |  | Search query in terms by Solr.See also https://www.documentcloud.org/help/search/. |

## Colonnes de table

Les colonnes de la table `documents_search` sont présentées ci-dessous. Chaque colonne possède un type de données SQL. Une nouvelle valeur non nulle doit être fournie pour chaque colonne requise à tout moment lors de l'insertion et de la mise à jour.

| Name | Type de données | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `access` | `varchar2` |  | [ ] |  | The access level for the document.Defaults to 'private'. |
| `asset_url` | `varchar2` |  | [ ] |  | The base URL to load this document’s static assets from. |
| `canonical_url` | `varchar2` |  | [ ] |  | The canonical URL to view this document. |
| `created_at` | `datetime` |  | [ ] |  | Time stamp when this document was created. |
| `description` | `varchar2` |  | [ ] |  | A brief description of the document. |
| `edit_access` | `char` |  | [x] |  | Does the current user have edit access to this document. |
| `file_hash` | `varchar2` |  | [ ] |  | File hash. |
| `file_url` | `varchar2` |  | [ ] |  | A URL to a publicly accessible document for the URL Upload Flow. |
| `force_ocr` | `char` |  | [ ] |  | Force OCR even if the PDF contains embedded text - only include if file_url is set, otherwise should set force_ocr on the call to the processing endpoint. |
| `id` | `int64` |  | [x] |  | The ID for the document. |
| `language` | `varchar2` |  | [ ] |  | The language the document is in.Defaults to 'eng'. |
| `organization` | `int64` |  | [x] |  | The ID for the organization this document belongs to. |
| `original_extension` | `varchar2` |  | [ ] |  | Original file extension. |
| `page_count` | `int32` |  | [ ] |  | The number of pages in this document. |
| `page_spec` | `varchar2` |  | [ ] |  | The dimensions for all pages in the document. |
| `presigned_url` | `varchar2` |  | [ ] |  | The pre-signed URL to directly PUT the PDF file to. |
| `publish_at` | `datetime` |  | [ ] |  | A timestamp when to automatically make this document public. |
| `published_url` | `varchar2` |  | [ ] |  | The URL where this document is embedded. |
| `related_article` | `varchar2` |  | [ ] |  | The URL for the article about this document. |
| `slug` | `varchar2` |  | [ ] |  | The slug is a URL safe version of the title. |
| `source` | `varchar2` |  | [ ] |  | The source who produced the document. |
| `status` | `varchar2` |  | [ ] |  | The status for the document. |
| `title` | `varchar2` |  | [ ] |  | The document's title. |
| `updated_at` | `datetime` |  | [ ] |  | Time stamp when the document was last updated. |
| `user` | `int64` |  | [x] |  | The ID for the user this document belongs to. |
