> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://contentful.com/developers/docs/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/_mcp/server. # Single resource fields When you want to fetch just one resource of a given type, you can use the single resource fields. As explained in the [types](/references/graphql/schema-generation#types) section, the name of these fields is the camelcased version of the content type from which they derive or `asset`. ```graphql type Query { contentModule(id: "introduction") { # ... } asset(id: "my-picture") { # ... } } ``` ## Arguments The following arguments are available when querying a single resource: | Argument | Type | Required | Description | | ------------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | String | `true` | The `id` of the resource you want to fetch. | | `preview` | Boolean | `false` | when set to `true` the field will be resolved with non published content. The default is `false`. | | `locale` | String | `false` | locale for the resource. If not set, the default locale is used. | | `useFallbackLocale` | Boolean | `false` | when set to `false`, fields without a value in the requested locale return `null` instead of the fallback locale. The default is `true`. See the [Disabling locale fallback](/references/graphql/locale-handling#disabling-locale-fallback) section. |