CoreStack User Preference API
Corestack UserPreferences Rest API
Corestack UserPreferences Rest API
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/corestack:corestack-userpreference-api"
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.
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: 3.2.0
info:
title: Corestack User Preference API
version: 1.0.0
license:
name: CoreStack Inc License
url: http://corestack.io/licenses/LICENSE-2.0.html
termsOfService: http://corestack.io/
description: 'Operations tagged UserPreference across 2 of this provider''s published API definitions: corestack-external-api-openapi-original.json, corestack-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /
tags:
- name: UserPreference
description: Corestack UserPreferences Rest API
paths:
/v1/user_preferences/{user_id}/subkey/list:
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Fetched
content:
application/json:
schema:
type: array
items:
type: string
summary: List all subkeys of user preferences
description: Get a list of all the subkeys for user preferences that are viewable to the user under the certain path.
operationId: listSubKeys
parameters:
- name: user_id
in: path
required: true
description: Specify the user ID. This is a unique ID and can be retrieved using the List Users API.
schema:
type: string
security:
- auth_token: []
tags:
- UserPreference
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreferenceListRequest'
required: true
servers:
- url: /
/v1/user_preferences/{user_id}/value/delete:
delete:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Removed
content:
application/json:
schema:
type: boolean
summary: User Preference Delete
description: Delete a user preference
operationId: delete
parameters:
- name: user_id
in: path
required: true
description: Specify the user ID. This is a unique ID and can be retrieved using the List Users API.
schema:
type: string
security:
- auth_token: []
tags:
- UserPreference
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreferenceDeleteRequest'
required: true
servers:
- url: /
/v1/user_preferences/{user_id}/value/get:
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Fetched
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreference'
summary: Get details of the user preference
description: Get user preference by id.
operationId: get@@@8
parameters:
- name: user_id
in: path
required: true
description: Specify the user ID. This is a unique ID and can be retrieved using the List Users API.
schema:
type: string
security:
- auth_token: []
tags:
- UserPreference
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreferenceGetRequest'
required: true
servers:
- url: /
/v1/user_preferences/{user_id}/value/list:
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Fetched
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreferenceListResponse'
summary: List all user preferences
description: Get a list of all the user preferences that are viewable to the user under the certain path.
operationId: listValues
parameters:
- name: user_id
in: path
required: true
description: Specify the user ID. This is a unique ID and can be retrieved using the List Users API.
schema:
type: string
security:
- auth_token: []
tags:
- UserPreference
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreferenceListRequest'
required: true
servers:
- url: /
/v1/user_preferences/{user_id}/value/set:
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Created/Updated
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreference'
summary: Create a new user preference
description: Create/Update a user preference
operationId: set
parameters:
- name: user_id
in: path
required: true
description: Specify the user ID. This is a unique ID and can be retrieved using the List Users API.
schema:
type: string
security:
- auth_token: []
tags:
- UserPreference
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreference'
required: true
servers:
- url: /
/v1/user_preferences/{user_id}/value/used:
post:
responses:
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ModelError'
'200':
description: Updated
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreference'
summary: Update updated_at time for user preference
description: Update user preference updated_at time
operationId: markAsUsed
parameters:
- name: user_id
in: path
required: true
description: Specify the user ID. This is a unique ID and can be retrieved using the List Users API.
schema:
type: string
security:
- auth_token: []
tags:
- UserPreference
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserPreference'
required: true
servers:
- url: /
components:
schemas:
UserPreferenceListResponse:
properties:
names:
type: object
description: Map from name to last update timestamp
additionalProperties:
type: string
format: date-time
type: object
UserPreference:
properties:
path:
type: string
description: Path is combination of id/key/value of user preference
name:
type: string
description: Name of the user preference
value:
type: string
description: Value of the user preference which is a JSON string
created_at:
type: string
format: date-time
description: When the user preference was created
updated_at:
type: string
format: date-time
description: When the user preference was updated
type: object
UserPreferenceListRequest:
properties:
path:
type: string
description: Path of the user preference
type: object
ModelError:
required:
- message
properties:
message:
type: string
description: Error response message.
type: object
UserPreferenceGetRequest:
properties:
path:
type: string
description: Path of the user preference
name:
type: string
description: Name of the user preference
type: object
UserPreferenceDeleteRequest:
properties:
path:
type: string
description: Path of the user preference
name:
type: string
description: Name of the user preference
type: object
securitySchemes:
auth_token:
type: apiKey
in: header
name: X-Auth-Token
x-refined-from:
- corestack-external-api-openapi-original.json
- corestack-openapi.json