Get all items for inside a Vault
GET
/vaults/{vaultUuid}/items
const url = 'http://1password.local/vaults/example/items?filter=title%20eq%20%22Some%20Item%20Name%22';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://1password.local/vaults/example/items?filter=title%20eq%20%22Some%20Item%20Name%22' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”vaultUuid
required
string
The UUID of the Vault to fetch Items from
Query Parameters
Section titled “Query Parameters”filter
string
Example
title eq "Some Item Name"Filter the Item collection based on Item name using SCIM eq filter
Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
category
required
string
createdAt
string format: date-time
favorite
boolean
id
string
lastEditedBy
string
state
string
tags
Array<string>
title
string
updatedAt
string format: date-time
urls
Array<object>
object
href
required
string format: url
label
string
primary
boolean
vault
required
object
id
required
string
version
integer
Example
[ { "category": "LOGIN", "favorite": false, "state": "ARCHIVED", "urls": [ { "href": "https://example.com", "primary": true }, { "href": "https://example.org" } ] }]Invalid or missing token
Media typeapplication/json
object
message
A message detailing the error
string
status
HTTP Status Code
integer
Example
{ "message": "Invalid token signature", "status": 401}Vault not found
Media typeapplication/json
object
message
A message detailing the error
string
status
HTTP Status Code
integer
Example
{ "message": "vault {vaultUuid} not found", "status": 404}