Salesforce Items API

The Items API from Salesforce — 6 operation(s) for items.

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /data/v64.0/sobjects/{SOBJECT_API_NAME}/listviews/recent Get recently viewed records of an object · Salesforce Recently Viewed Items #
Ask an LLM
“Which Accounts have I viewed most recently?”
“Can I cap how many recently viewed records come back?”
Tell an agent
Get my {limit} most recently viewed {sobject} records.
Show recently viewed {sobject} items, up to {limit}.
GET /data/v64.0/sobjects/relevantItems Get the current user's most relevant items · Salesforce Relevant Items #
Ask an LLM
“What records are most relevant to me across objects I search?”
“How do I get the up to 50 most relevant records per object for the current user?”
Tell an agent
Get my relevant items.
Show the records most relevant to me across my search scope.
PUT /data/v64.0/ui-api/apps/{APP_ID}/user-nav-items Reorder a user's personalized navigation items · Salesforce Update Personalized Navigation Items #
Ask an LLM
“How do I change the order of a user's tabs in a Lightning app's navigation bar?”
“Can I add a navigation item to a user's personalized nav list?”
Tell an agent
Reorder my personalized navigation items in app {app_id}.
Update the nav bar tabs order for app {app_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/salesforce:salesforce-items-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

salesforce-items-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce Items API
  description: Find the resources you need to start building.
  contact: {}
  version: '1.0'
servers:
- url: https://login.salesforce.com
  variables: {}
- url: https://id
  variables: {}
- url: https://services
  variables: {}
- url: '{{url}}{{site}}/services/oauth2'
  variables:
    url:
      default: DefaultParameterValue
    site:
      default: DefaultParameterValue
security:
- oauth2:
  - api
tags:
- name: Items
paths:
  /data/v64.0/sobjects/{SOBJECT_API_NAME}/listviews/recent:
    parameters: []
    get:
      tags:
      - Items
      summary: Salesforce Recently Viewed Items
      description: 'Gets the most recently accessed items that were viewed or referenced by the current user. Salesforce stores information about record views in the interface and uses it to generate a list of recently viewed and referenced records, such as in the sidebar and for the auto-complete options in search.


        This resource only accesses most recently used item information. If you want to modify the list of recently viewed items, you’ll need to update recently viewed information directly by using a SOQL Query with a FOR VIEW or FOR REFERENCE clause.

        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_recent_items.htm'
      operationId: RecentlyViewedItems
      parameters:
      - name: limit
        in: query
        description: ''
        required: true
        style: form
        explode: true
        schema:
          type: string
        example: example_value
      - name: SOBJECT_API_NAME
        in: path
        description: ''
        required: true
        schema:
          type: string
        example: example_value
      - name: Content-Type
        in: header
        description: ''
        required: true
        schema:
          const: application/json
          type: string
          examples:
          - application/json
        example: example_value
      responses:
        '200':
          description: ''
          headers: {}
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /data/v64.0/sobjects/relevantItems:
    parameters: []
    get:
      tags:
      - Items
      summary: Salesforce Relevant Items
      description: 'Gets the current user’s most relevant items. Relevant items include records for objects in the user’s global search scope and also most recently used (MRU) objects.

        Relevant items include up to 50 of the most recently viewed or updated records for each object in the user’s global search scope.

        Note

        The user’s global search scope includes the objects the user interacted with most in the last 30 days, including objects the user pinned from the search results page in the Salesforce Classic.


        Then, the resource finds more recent records for each most recently used (MRU) object until the maximum number of records, which is 2,000, is returned.

        This resource only accesses the relevant item information. Modifying the list of relevant items is not currently supported

        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_relevant_items.htm'
      operationId: RelevantItems
      parameters:
      - name: Content-Type
        in: header
        description: ''
        required: true
        schema:
          const: application/json
          type: string
          examples:
          - application/json
        example: example_value
      responses:
        '200':
          description: ''
          headers: {}
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /data/v64.0/ui-api/apps/{APP_ID}/user-nav-items:
    parameters: []
    put:
      tags:
      - Items
      summary: Salesforce Update Personalized Navigation Items
      description: Updates the order of a user’s personalized navigation items (tabs) and adds a navigation item to the list in the order specified.
      operationId: UpdatePersonalizedNavigationItems
      parameters:
      - name: APP_ID
        in: path
        description: Application ID
        required: true
        schema:
          type: string
        example: '500123'
      responses:
        '200':
          description: ''
          headers: {}
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: '{DefaultParameterValue}{DefaultParameterValue}/services/oauth2/authorize'
          scopes:
            api: ''