> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dezerx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get editable provider service details

> Returns the same provider-specific server, user, account, license, configuration, and per-hour sections used by the admin service-details page. Passwords, hashes, API keys, credentials, tokens, secrets, license collections, raw egg variables, provider actions, and control-panel links are omitted.



## OpenAPI

````yaml /docs/service-api.yaml get /services/{service}/details
openapi: 3.1.0
info:
  title: Spartan Service API
  version: 1.1.0
  description: >-
    Service inventory, lifecycle, billing, pricing, notes, members, addons,
    provider service details, upgrades, downgrades, and evidence. All operations
    require a bearer API token with the documented `x-permission`.
servers:
  - url: https:/docs.dezerx.com/api/application
    description: Development
security:
  - bearerAuth: []
tags:
  - name: Services
  - name: Lifecycle
  - name: Billing
  - name: Members
  - name: Service Details
  - name: Evidence
paths:
  /services/{service}/details:
    get:
      tags:
        - Service Details
      summary: Get editable provider service details
      description: >-
        Returns the same provider-specific server, user, account, license,
        configuration, and per-hour sections used by the admin service-details
        page. Passwords, hashes, API keys, credentials, tokens, secrets, license
        collections, raw egg variables, provider actions, and control-panel
        links are omitted.
      parameters:
        - $ref: '#/components/parameters/ServiceId'
      responses:
        '200':
          $ref: '#/components/responses/ServiceDetails'
        '409':
          $ref: '#/components/responses/Error'
components:
  parameters:
    ServiceId:
      name: service
      in: path
      required: true
      schema:
        type: integer
  responses:
    ServiceDetails:
      description: Provider service-details response
      content:
        application/json:
          schema:
            type: object
            required:
              - data
              - meta
            properties:
              data:
                $ref: '#/components/schemas/ServiceDetails'
              message:
                type: string
              meta:
                type: object
    Error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    ServiceDetails:
      type: object
      required:
        - provider
        - service
        - editable_sections
        - sections
      properties:
        provider:
          type: object
          required:
            - key
            - name
          properties:
            key:
              type: string
              example: PterodactylService
            name:
              type: string
              example: Pterodactyl
            description:
              type:
                - string
                - 'null'
        service:
          type: object
          required:
            - id
            - status
          properties:
            id:
              type: integer
              example: 485
            name:
              type:
                - string
                - 'null'
            status:
              type: string
              example: active
            created_at:
              type:
                - string
                - 'null'
              format: date-time
            updated_at:
              type:
                - string
                - 'null'
              format: date-time
        editable_sections:
          type: array
          items:
            enum:
              - server
              - user
              - account
              - license
              - per-hour
        sections:
          type: array
          items:
            $ref: '#/components/schemas/ServiceDetailSection'
    Error:
      type: object
      required:
        - error
        - request_id
      properties:
        error:
          type: object
          required:
            - code
            - message
            - details
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
        request_id:
          type: string
          format: uuid
    ServiceDetailSection:
      type: object
      required:
        - key
        - label
        - editable
      properties:
        key:
          type: string
        label:
          type: string
        data:
          type:
            - object
            - 'null'
          additionalProperties: true
        fields:
          type: array
          items:
            type: object
            additionalProperties: true
        editFields:
          type: array
          items:
            type: object
            additionalProperties: true
        editConfigFields:
          type: array
          items:
            type: object
            additionalProperties: true
        editable:
          type: boolean
        update_endpoint:
          type:
            - string
            - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````