1. Files
Pibox public API
0.6.3
  • 0.6.2
  • 0.6.3
  • v1
    • Teams
      • Get Teams
    • Groups
      • Get Groups
      • Get Group Info
    • Projects
      • Get Project Info
      • Create Project
      • Get Projects by Group
      • Get Non Group Projects
      • Get Chat History
      • Chat Message
    • Account
      • Get Account Info
    • Files
      • Find Files
        POST
      • Get File Info
        POST
      • Create Folder
        POST
      • Get Files by Folder
        POST
      • Get Folder URL
        POST
      • Update Folder Properties
        POST
      • Delete File
        POST
      • Upload from External Source
        POST
      • Generate Track Tags
        POST
      • File Upload
        PUT
    • Tasks
      • Get Task Template
      • Load Tasks from Template
      • Get Tasks by Folder
    • Webhooks
      • Create Webhook Endpoint
      • Get Webhook Endpoints
      • Delete Webhook Endpoint
  • Schemas
    • v1
      • Team
      • Track Info
      • Video Info
      • Image Info
      • AI Tags
      • Empty Schema
  1. Files

Get File Info

POST
/v1/files/get_info

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/files/get_info' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "file_id": 655507
}'
Response Response Example
{
    "ai_tags": {
        "bpm": 150,
        "genres": [
            [
                "Rock",
                0.94
            ],
            [
                "Score",
                0.88
            ],
            [
                "Indie Rock",
                0.76
            ],
            [
                "Indie",
                0.7
            ],
            [
                "Trailer Cues",
                0.62
            ],
            [
                "Alternative Rock",
                0.48
            ]
        ],
        "instruments": [
            [
                "Bass",
                0.85
            ],
            [
                "Electric Guitar",
                0.76
            ],
            [
                "Drums",
                0.55
            ]
        ],
        "key": [
            "G major"
        ],
        "moods": [
            [
                "Powerful",
                0.84
            ],
            [
                "Positive",
                0.82
            ],
            [
                "Happy",
                0.76
            ],
            [
                "Dynamic",
                0.76
            ],
            [
                "Carefree",
                0.68
            ],
            [
                "Exciting",
                0.57
            ],
            [
                "Inspiring",
                0.56
            ],
            [
                "Bright",
                0.52
            ],
            [
                "Emotional",
                0.52
            ],
            [
                "Hopeful",
                0.49
            ],
            [
                "Adventurous",
                0.47
            ],
            [
                "Cool",
                0.46
            ]
        ]
    },
    "common": {
        "account_id": 378,
        "compressed_file_url": null,
        "file_team_id": 737,
        "id": 655507,
        "is_blind_drop": false,
        "is_shared": false,
        "name": "track.mp3",
        "project_id": 158400,
        "size": 7218781,
        "status": null,
        "transcoding_status": "transcoded",
        "url": "https://stage-pibox-avatar.s3.eu-west-1.amazonaws.com/..."
    },
    "file_info": {
        "annotations": "{\"Artist\":\"Name\",\"Title\":\"Track\"}",
        "audio_encoding": null,
        "bitrate": "320k",
        "bits_per_sample": 0,
        "bpm": 145.267,
        "duration": 180.228005,
        "key": null,
        "number_of_chanels": 2,
        "number_of_samples": 7948055,
        "object": "audio_file_info",
        "samplerate": 44100,
        "wave": [
            0.0,
            0.0,
            0.0,
            0.0,
            0.0,
            0.0,
            0.01
        ]
    }
}
Modified at 2026-03-30 11:41:38
Previous
Find Files
Next
Create Folder
Built with