Optimizely Application Logs API

The Application Logs API from Optimizely — 5 operation(s) for application logs.

Operations 9

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 /api/v1/admin/ApplicationLogs List application log entries · Returns the EntitySet ApplicationLogs #
Ask an LLM
“Where can I see recent application log messages from the commerce site?”
“Can I filter application logs to just errors from a certain source?”
Tell an agent
List application log entries.
Show the latest {top} application logs matching {filter}, sorted by {orderby}.
POST /api/v1/admin/ApplicationLogs Write an application log entry · Post a new entity to EntitySet ApplicationLogs #
Ask an LLM
“Can I record my own message in the application log?”
“What source, message and type does a new log entry need?”
Tell an agent
Write a {type} log entry from {source} saying {message}.
Add an application log message {message} from source {source} as type {type} on host {host}.
GET /api/v1/admin/ApplicationLogs({id}) Get an application log entry · Returns the entity with the key from ApplicationLogs #
Ask an LLM
“Can I open one application log entry by its id to read the full message?”
“Which host and ELMAH error id belong to a specific log entry?”
Tell an agent
Get application log {id}.
Show the full details of log entry {id}.
PUT /api/v1/admin/ApplicationLogs({id}) Replace an application log entry · Replace entity in EntitySet ApplicationLogs #
Ask an LLM
“Is there a way to overwrite a whole application log record?”
“What fields must I resend to fully replace a log entry?”
Tell an agent
Replace log entry {id} with message {message} from {source} of type {type}.
Overwrite application log record {id} entirely.
DELETE /api/v1/admin/ApplicationLogs({id}) Delete an application log entry · Delete entity in EntitySet ApplicationLogs #
Ask an LLM
“Can I delete one application log entry by id?”
“Does deleting a single log entry support an If-Match check?”
Tell an agent destructive · confirm first
Delete application log {id}.
Delete log entry {id} if its ETag is {etag}.
PATCH /api/v1/admin/ApplicationLogs({id}) Update fields on a log entry · Update entity in EntitySet ApplicationLogs #
Ask an LLM
“How do I correct just the message text on an existing log entry?”
“Can I change only the type of an application log record?”
Tell an agent
Change the message on log entry {id} to {message}.
Set log entry {id} type to {type}.
GET /api/v1/admin/ApplicationLogs/Default.Default() Get a blank application log template · Call operation Default #
Ask an LLM
“What default values does a new application log entry have?”
“Is there an empty log entry template I can start from?”
Tell an agent
Get the default application log template.
Show the starting values for a new log entry.
DELETE /api/v1/admin/applicationlogs/delete Bulk delete application log entries · Application logs delete route #
Ask an LLM
“Can I purge many application log entries at once?”
“Is there a bulk delete for log entries that takes a list of ids?”
Tell an agent destructive · confirm first
Bulk delete application logs {ids}.
Purge these log entries in one call: {ids}.
GET /api/v1/admin/applicationlogs({key})/customproperties({custompropertyKey}) Get a custom property on a log entry · Application logs get custom property by key and custompropertykey #
Ask an LLM
“How can I read a custom property attached to an application log entry?”
“Can extra metadata on a log record be fetched by property id?”
Tell an agent
Get custom property {custompropertyKey} on application log {key}.
Read log entry {key}'s custom field {custompropertyKey}.

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/optimizely:optimizely-application-logs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

optimizely-application-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: admin-v1
  title: Admin API V1 Application Logs API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Application Logs
paths:
  /api/v1/admin/ApplicationLogs:
    get:
      tags:
      - Application Logs
      summary: Returns the EntitySet ApplicationLogs
      operationId: ApplicationLogs_Get
      parameters:
      - name: $expand
        in: query
        description: Expands related entities inline.
        required: false
        schema:
          type: string
      - name: $filter
        in: query
        description: Filters the results, based on a Boolean condition.
        required: false
        schema:
          type: string
      - name: $select
        in: query
        description: Selects which properties to include in the response.
        required: false
        schema:
          type: string
      - name: $apply
        in: query
        description: Aggregates the results according to one or more transformations.
        required: false
        schema:
          type: string
      - name: $orderby
        in: query
        description: Sorts the results.
        required: false
        schema:
          type: string
      - name: $top
        in: query
        description: Returns only the first n results.
        required: false
        schema:
          type: integer
          format: int32
      - name: $skip
        in: query
        description: Skips the first n results.
        required: false
        schema:
          type: integer
          format: int32
      - name: $count
        in: query
        description: Includes a count of the matching results in the response.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    post:
      tags:
      - Application Logs
      summary: Post a new entity to EntitySet ApplicationLogs
      operationId: ApplicationLogs_Post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.ApplicationLog'
        description: The entity to post
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/ApplicationLogs({id}):
    get:
      tags:
      - Application Logs
      summary: Returns the entity with the key from ApplicationLogs
      operationId: ApplicationLogs_GetById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      - name: $expand
        in: query
        description: Expands related entities inline.
        required: false
        schema:
          type: string
      - name: $select
        in: query
        description: Selects which properties to include in the response.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    put:
      tags:
      - Application Logs
      summary: Replace entity in EntitySet ApplicationLogs
      operationId: ApplicationLogs_PutById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.ApplicationLog'
        description: The entity to put
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    delete:
      tags:
      - Application Logs
      summary: Delete entity in EntitySet ApplicationLogs
      operationId: ApplicationLogs_DeleteById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      - name: If-Match
        in: header
        description: If-Match header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
    patch:
      tags:
      - Application Logs
      summary: Update entity in EntitySet ApplicationLogs
      operationId: ApplicationLogs_PatchById
      parameters:
      - name: id
        in: path
        description: 'key: id'
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Data.Entities.ApplicationLog'
        description: The entity to patch
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/ApplicationLogs/Default.Default():
    get:
      tags:
      - Application Logs
      summary: Call operation Default
      operationId: ApplicationLogs_Default
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
  /api/v1/admin/applicationlogs/delete:
    delete:
      tags:
      - Application Logs
      operationId: ApplicationLogs_DeleteRoute
      parameters:
      - name: ids
        in: query
        required: true
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
      summary: Application logs delete route
      x-summary-source: derived
  /api/v1/admin/applicationlogs({key})/customproperties({custompropertyKey}):
    get:
      tags:
      - Application Logs
      operationId: ApplicationLogs_GetCustomPropertyByKeyAndCustompropertykey
      parameters:
      - name: key
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: custompropertyKey
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: $expand
        in: query
        description: Expands related entities inline.
        required: false
        schema:
          type: string
      - name: $select
        in: query
        description: Selects which properties to include in the response.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
      deprecated: false
      security:
      - access_token: []
      summary: Application logs get custom property by key and custompropertykey
      x-summary-source: derived
components:
  schemas:
    Insite.Data.Entities.ApplicationLog:
      required:
      - source
      - message
      - type
      type: object
      properties:
        id:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        source:
          maxLength: 255
          minLength: 0
          type: string
        message:
          type: string
        logDate:
          format: date-time
          type: string
        type:
          maxLength: 255
          minLength: 0
          type: string
        sequence:
          format: int32
          type: integer
        host:
          maxLength: 100
          minLength: 0
          type: string
        elmahErrorId:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
        createdOn:
          format: date-time
          type: string
        createdBy:
          type: string
        modifiedOn:
          format: date-time
          type: string
        modifiedBy:
          type: string
  securitySchemes:
    access_token:
      type: apiKey
      description: Token used to access storefront API.
      name: access_token
      in: query