# getZenodoRecord

**Identifier:** `zenodo_getZenodoRecord`

**Provider:** [Zenodo](https://kirha.com/providers/zenodo.md)

Retrieve full details of a specific Zenodo record including all files and metadata.

## Run it with the CLI

```bash
kirha tools run zenodo_getZenodoRecord \
  --input '{
    "recordId": "<recordId>"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "zenodo_getZenodoRecord",
  "input": {
    "recordId": "<recordId>"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "recordId": {
      "description": "Zenodo record ID or DOI. Get from searchZenodo tool.",
      "type": "string"
    }
  },
  "required": [
    "recordId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "accessRight": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "contributors": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "affiliation": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "creators": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "affiliation": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "orcid": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "description": {
      "type": "string"
    },
    "doi": {
      "type": "string"
    },
    "fileCount": {
      "type": "number"
    },
    "files": {
      "description": "First 100 files; use getZenodoFileUrl for any other file",
      "items": {
        "additionalProperties": false,
        "properties": {
          "checksum": {
            "type": "string"
          },
          "downloadUrl": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          },
          "size": {
            "type": "number"
          }
        },
        "required": [
          "filename",
          "size",
          "downloadUrl"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "id": {
      "type": "string"
    },
    "keywords": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "language": {
      "type": "string"
    },
    "license": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    },
    "links": {
      "additionalProperties": false,
      "properties": {
        "doi": {
          "type": "string"
        },
        "latest": {
          "type": "string"
        },
        "latestHtml": {
          "type": "string"
        },
        "self": {
          "type": "string"
        }
      },
      "required": [
        "self"
      ],
      "type": "object"
    },
    "notes": {
      "type": "string"
    },
    "publicationDate": {
      "type": "string"
    },
    "relatedIdentifiers": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "identifier": {
            "type": "string"
          },
          "relation": {
            "type": "string"
          },
          "resourceType": {
            "type": "string"
          }
        },
        "required": [
          "identifier",
          "relation"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "resourceType": {
      "additionalProperties": false,
      "properties": {
        "subtype": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "subjects": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "title": {
      "type": "string"
    },
    "totalSize": {
      "type": "number"
    },
    "version": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "id",
    "title",
    "creators",
    "keywords",
    "resourceType",
    "accessRight",
    "files",
    "fileCount",
    "totalSize",
    "links"
  ],
  "type": "object"
}
```

## Related tools

Other Zenodo tools that this tool refers to, or that refer to it.

- [`getZenodoFileUrl`](https://kirha.com/providers/zenodo/getZenodoFileUrl.md)
- [`searchZenodo`](https://kirha.com/providers/zenodo/searchZenodo.md)

-----

[All Zenodo tools](https://kirha.com/providers/zenodo.md) · [< Back to tools list](https://kirha.com/tools.md)